mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-22 10:44:10 +02:00
Add 'sandbox' to recommended CSP header
This commit is contained in:
parent
16f17855c9
commit
e318286404
|
|
@ -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