Conversation
ff68004 to
f985850
Compare
|
@baknu I think this is ready as a fix for #524 and #525, here are examples of what we do and do not allow: Internet.nl/tests/unittests/test_tasks_http_headers.py Lines 245 to 267 in f985850 In addition to that code, If you agree this is correct, I will merge and we'll need to update content. |
|
@thestinger as reporter of #524 and #525, could you also have a look my the previous comment to see if that seems right? |
|
Yeah, that looks right. |
There was a problem hiding this comment.
Looks good to me 👍.
Values like 'unsafe-inline', 'strict-dynamic' (see MDN), 'unsafe-eval' and some other keywords are allowed for 'base-uri'. While not unsafe, maybe we should warn for insane values. But that would be a very low priority CSP improvement ticket.
|
@baknu merged this, but explanation of our CSP requirement still needs updating in content repo. I have already added templates for the new error messages for these fields to https://github.com/internetstandards/Internet.nl_content/pull/30 |
|
@mxsasha Two questions:
|
|
As we are making the CSP test more complicated, and it was already confusing users at times, we should make #577 a priority along with this change.