mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 16:34:49 -04:00
Add 'sandbox' to CSP for media repo (#4284)
* Add 'sandbox' to the CSP for media repo * Changelog
This commit is contained in:
parent
128294d3e5
commit
1c0051114a
2 changed files with 3 additions and 1 deletions
|
@ -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';"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue