mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-14 23:44:10 +01:00
Merge pull request #1743 from matrix-org/dbkr/add_sandbox_to_csp
Add 'sandbox' to recommended CSP header
This commit is contained in:
commit
35de43de61
|
|
@ -34,8 +34,9 @@ origin homeserver using the same API (unless the origin and destination
|
||||||
homeservers are the same).
|
homeservers are the same).
|
||||||
|
|
||||||
When serving content, the server SHOULD provide a ``Content-Security-Policy``
|
When serving content, the server SHOULD provide a ``Content-Security-Policy``
|
||||||
header. The recommended policy is ``default-src 'none'; script-src 'none';
|
header. The recommended policy is ``sandbox; default-src 'none'; script-src
|
||||||
plugin-types application/pdf; style-src 'unsafe-inline'; object-src 'self';``.
|
'none'; plugin-types application/pdf; style-src 'unsafe-inline'; object-src
|
||||||
|
'self';``.
|
||||||
|
|
||||||
Client behaviour
|
Client behaviour
|
||||||
----------------
|
----------------
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue