mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-05 13:53:45 +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).
|
||||
|
||||
When serving content, the server SHOULD provide a ``Content-Security-Policy``
|
||||
header. The recommended policy is ``default-src 'none'; script-src 'none';
|
||||
plugin-types application/pdf; style-src 'unsafe-inline'; object-src 'self';``.
|
||||
header. The recommended policy is ``sandbox; default-src 'none'; script-src
|
||||
'none'; plugin-types application/pdf; style-src 'unsafe-inline'; object-src
|
||||
'self';``.
|
||||
|
||||
Client behaviour
|
||||
----------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue