Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[29673] Avoid stale? with CSP nonces
Not all headers treat 304 responses equally, some do replay the CSP headers from the original 200 GET, but we cannot rely on that. If the header is not replayed, the frontend-cached nonces will not be valid resulting in a CSP violation. ``` References: w3c/webappsec-csp#161 https://bugs.chromium.org/p/chromium/issues/detail?id=174301 ``` https://community.openproject.com/wp/29673
- Loading branch information
1 parent
cb6e750
commit 0ac0c01
Showing
1 changed file
with
13 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters