Item 2 of the following comment states how Internet.nl now handles CSP "none" when combined with other sources, according to @gthess: #325 (comment)
Below is the relevant quote:
Technically no. But browsers do not raise an error on that. The existence of 'none' guarantees that the directive will result in an empty set of sources, regardless of what else is specified in the directive. We follow that and also allow 'none' to coexist with other syntactically.
In the CSP specification, however, I read the following:
NOTE: The 'none' keyword has no effect when other source expressions are present. That is, the list « 'none' » does not match any URL. A list consisting of « 'none', https://example.com/ », on the other hand, would match https://example.com/.
Source: https://www.w3.org/TR/CSP3/#match-url-to-source-list
So our CSP subtest does not seem to be fully in line with the CSP specification.
Item 2 of the following comment states how Internet.nl now handles CSP "none" when combined with other sources, according to @gthess: #325 (comment)
Below is the relevant quote:
In the CSP specification, however, I read the following:
Source: https://www.w3.org/TR/CSP3/#match-url-to-source-list
So our CSP subtest does not seem to be fully in line with the CSP specification.