Set Referrer-Policy also in addSecurityHeaders()

Fix: #12689
Signed-off-by: Peter Kraume <peter.kraume@gmx.de>
This commit is contained in:
Peter Kraume 2018-11-27 16:34:54 +01:00
parent c8cab74404
commit 79b8703f29

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