aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorMichaIng <micha@dietpi.com>2022-03-19 18:17:46 +0100
committerMichaIng <micha@dietpi.com>2022-03-19 18:17:46 +0100
commitea0e45d81e6963dab8c89981538f9d5fe2d51472 (patch)
tree7b1ed6175c13b608c34330ac21826ad82b591762 /.htaccess
parent40b0ca56f77a994e8a094643ea96d53e7e8d24bc (diff)
downloadnextcloud-server-ea0e45d81e6963dab8c89981538f9d5fe2d51472.tar.gz
nextcloud-server-ea0e45d81e6963dab8c89981538f9d5fe2d51472.zip
Remove legacy Internet Explorer headers
X-UA-Compatible and X-Download-Options headers are interpreted or relevant for Internet Explorer only. With the deprecation of Internet Explorer support in Nextcloud 20 and planned support removal already in Nextcloud 22, these became obsolete and are hereby removed, including their removal from setup checks. Signed-off-by: MichaIng <micha@dietpi.com>
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess3
1 files changed, 0 insertions, 3 deletions
diff --git a/.htaccess b/.htaccess
index 60908984185..b7ee2318a7d 100644
--- a/.htaccess
+++ b/.htaccess
@@ -24,9 +24,6 @@
Header onsuccess unset X-Content-Type-Options
Header always set X-Content-Type-Options "nosniff"
- Header onsuccess unset X-Download-Options
- Header always set X-Download-Options "noopen"
-
Header onsuccess unset X-Frame-Options
Header always set X-Frame-Options "SAMEORIGIN"