Skip to content
Snippets Groups Projects
Commit 89ac2a5b authored by David Baker's avatar David Baker Committed by Amber Brown
Browse files

Add 'sandbox' to CSP for media repo (#4284)

* Add 'sandbox' to the CSP for media repo

* Changelog
parent 989f1167
No related branches found
No related tags found
No related merge requests found
Add 'sandbox' to CSP for media reprository
......@@ -48,7 +48,8 @@ class DownloadResource(Resource):
set_cors_headers(request)
request.setHeader(
b"Content-Security-Policy",
b"default-src 'none';"
b"sandbox;"
b" default-src 'none';"
b" script-src 'none';"
b" plugin-types application/pdf;"
b" style-src 'unsafe-inline';"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment