stable

Clone or download

Read-only

Set a deny-all Content-Security-Policy header when none is set

No functional change is expected, all responses that did not had a CSP header previously (e.g. API responses, static assets...) should now have one. This default Content-Security-Policy is strict and is expected to deny everything as nothing is expected to loaded/executed/... from those resources. Part of request #17967: Deploy a useful content security policy Change-Id: I79e3cbf0612c5ee592e6b01dc55418edc117ff74

Modified Files

Name
A src/etc/nginx/tuleap-managed-global-settings.conf +6 −0 Go to diff View file
M src/etc/nginx/tuleap.d/03-locations.conf +3 −0 Go to diff View file
A src/etc/nginx/tuleap.d/09-content-security-policy.conf +4 −0 Go to diff View file
M tools/Configuration/Nginx/Common.php +16 −9 Go to diff View file