Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPytal <24800714+Pytal@users.noreply.github.com>2022-03-22 04:09:50 +0300
committerGitHub <noreply@github.com>2022-03-22 04:09:50 +0300
commit5747b9b01a5bf34699ccb3a5f80698a22437eece (patch)
treee82dbedf76cc36294a0be34138e19ad2a1ecffca /lib
parentb314a13e1c4a673c8c68e964e4b60ef09bd0aff6 (diff)
parentea0e45d81e6963dab8c89981538f9d5fe2d51472 (diff)
Merge pull request #31629 from nextcloud/feat/remove-ie-headers
Diffstat (limited to 'lib')
-rw-r--r--lib/private/legacy/OC_Response.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_Response.php b/lib/private/legacy/OC_Response.php
index 6cfd53d2651..e4525fe9e10 100644
--- a/lib/private/legacy/OC_Response.php
+++ b/lib/private/legacy/OC_Response.php
@@ -97,7 +97,6 @@ class OC_Response {
if (getenv('modHeadersAvailable') !== 'true') {
header('Referrer-Policy: no-referrer'); // https://www.w3.org/TR/referrer-policy/
header('X-Content-Type-Options: nosniff'); // Disable sniffing the content type for IE
- header('X-Download-Options: noopen'); // https://msdn.microsoft.com/en-us/library/jj542450(v=vs.85).aspx
header('X-Frame-Options: SAMEORIGIN'); // Disallow iFraming from other domains
header('X-Permitted-Cross-Domain-Policies: none'); // https://www.adobe.com/devnet/adobe-media-server/articles/cross-domain-xml-for-streaming.html
header('X-Robots-Tag: none'); // https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag