mirror of
https://github.com/nextcloud/server.git
synced 2026-05-25 10:49:21 -04:00
Merge pull request #12737 from nextcloud/backport/12690/stable15
[stable15] Set Referrer-Policy also in addSecurityHeaders()
This commit is contained in:
commit
ca9666fadb
1 changed files with 1 additions and 0 deletions
|
|
@ -104,6 +104,7 @@ class OC_Response {
|
|||
header('X-Robots-Tag: none'); // https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag
|
||||
header('X-Download-Options: noopen'); // https://msdn.microsoft.com/en-us/library/jj542450(v=vs.85).aspx
|
||||
header('X-Permitted-Cross-Domain-Policies: none'); // https://www.adobe.com/devnet/adobe-media-server/articles/cross-domain-xml-for-streaming.html
|
||||
header('Referrer-Policy: no-referrer'); // https://www.w3.org/TR/referrer-policy/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue