aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorPatrik Kernstock <info@pkern.at>2018-10-11 19:44:05 +0200
committerPatrik Kernstock <info@pkern.at>2018-10-11 19:44:05 +0200
commit8cdd906d66fc95966a0752c78542de2981f71550 (patch)
tree6e74cb5fe831335c08820a85b69622a1e49082fb /.htaccess
parent12f921f0434ea67ceb5467eb933cb186454e2c2b (diff)
downloadnextcloud-server-8cdd906d66fc95966a0752c78542de2981f71550.tar.gz
nextcloud-server-8cdd906d66fc95966a0752c78542de2981f71550.zip
Add "Referrer-Policy" to htaccess file, addresses issue #11099
Signed-off-by: Patrik Kernstock <info@pkern.at>
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess1
1 files changed, 1 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 190b414558b..70cd1f1595d 100644
--- a/.htaccess
+++ b/.htaccess
@@ -16,6 +16,7 @@
Header set X-Robots-Tag "none"
Header set X-Download-Options "noopen"
Header set X-Permitted-Cross-Domain-Policies "none"
+ Header set Referrer-Policy "no-referrer"
SetEnv modHeadersAvailable true
</IfModule>