]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add "Referrer-Policy" to htaccess file, addresses issue #11099 11798/head
authorPatrik Kernstock <info@pkern.at>
Thu, 11 Oct 2018 17:44:05 +0000 (19:44 +0200)
committerPatrik Kernstock <info@pkern.at>
Fri, 12 Oct 2018 12:27:06 +0000 (14:27 +0200)
Signed-off-by: Patrik Kernstock <info@pkern.at>
.htaccess

index 190b414558b29b082a387509cc586418299ac843..70cd1f1595d8370c936cc1bdcb3af4e28ad41633 100644 (file)
--- 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>