Specify the minimum CSP for media

Fixes https://github.com/matrix-org/matrix-doc/issues/1066
This commit is contained in:
Travis Ralston 2018-08-29 10:55:34 -06:00
parent e401b7255c
commit ec20c43220

View file

@ -33,6 +33,11 @@ recipient's local homeserver, which must first transfer the content from the
origin homeserver using the same API (unless the origin and destination
homeservers are the same).
When serving content, the server MUST provide a ``Content-Security-Policy``
header. The policy may be more restrictive, however the minimum policy is
``default-src 'none'; script-src 'none'; plugin-types application/pdf;
style-src 'unsafe-inline'; object-src 'self';``.
Client behaviour
----------------