Merge pull request #12690 from peterkraume/bug-12689

Set Referrer-Policy also in addSecurityHeaders()
This commit is contained in:
Morris Jobke 2018-11-29 17:46:53 +01:00 committed by GitHub
commit 8abde7702a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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/
}
}