Skip to content

Commit

Permalink
Set Referrer-Policy also in addSecurityHeaders()
Browse files Browse the repository at this point in the history
Fix: #12689
Signed-off-by: Peter Kraume <peter.kraume@gmx.de>
  • Loading branch information
peterkraume committed Nov 27, 2018
1 parent c8cab74 commit 79b8703
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/private/legacy/response.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ public static function addSecurityHeaders() {
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/
}
}

Expand Down

0 comments on commit 79b8703

Please sign in to comment.