Skip to content

Commit

Permalink
Merge pull request #12690 from peterkraume/bug-12689
Browse files Browse the repository at this point in the history
Set Referrer-Policy also in addSecurityHeaders()
  • Loading branch information
MorrisJobke authored Nov 29, 2018
2 parents ee2cb46 + 79b8703 commit 8abde77
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 8abde77

Please sign in to comment.