Open
Description
Here is what the current specification says:
Let the default sources be the result of parsing the default-src directive’s value as a source list if a
default-src
directive is explicitly specified, and otherwise the U+002A ASTERISK character (*).
Which is incorrect, as it reads that these two statements are equivalent:
Content-Security-Policy: default-src *; upgrade-insecure-requests
Content-Security-Policy: upgrade-insecure-requests
The statement should probably read something like:
Let the default sources be the result of parsing the default-src directive’s value as a source list if a
default-src
directive is explicitly specified, and otherwise the list of all possible sources.
Metadata
Assignees
Labels
No labels