summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrik Kernstock <info@pkern.at>2018-10-13 18:17:22 +0200
committerGitHub <noreply@github.com>2018-10-13 18:17:22 +0200
commit0fca815b4dd601381a909656a1e3e7a7e89714d2 (patch)
tree01232b4f282ae750fa3f3d0a807c33dc3fea8a4c
parent78589a2f9b6d6003a6fd867be368107f5b0fd01c (diff)
parent8cdd906d66fc95966a0752c78542de2981f71550 (diff)
downloadnextcloud-server-0fca815b4dd601381a909656a1e3e7a7e89714d2.tar.gz
nextcloud-server-0fca815b4dd601381a909656a1e3e7a7e89714d2.zip
Merge pull request #11782 from nextcloud/bugfix/11099/fix-htaccess-referrer
Add "Referrer-Policy" to htaccess file, addresses issue #11099
-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>