Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Allow multiple CSP nonces #1565

Closed
benmccann opened this issue Sep 26, 2020 · 1 comment
Closed

Allow multiple CSP nonces #1565

benmccann opened this issue Sep 26, 2020 · 1 comment
Labels

Comments

@benmccann
Copy link
Member

According to #1248 (comment) replace is only getting called for the first occurrence and we should be allowing multiple occurrences.

The line of code to change is here: https://github.com/sveltejs/sapper/pull/1249/files#diff-9c713b090053bf2158dc7db4484fb401R332

@benmccann benmccann added the bug label Sep 26, 2020
benbarbersmith added a commit to benbarbersmith/sapper that referenced this issue Sep 28, 2020
This addresses sveltejs#1565 and allows use of nonces on multiple scripts and stylesheets.
@Conduitry
Copy link
Member

This should be fixed in 0.28.10.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants