summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.guest.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-09-09 18:07:43 +0200
committerLukas Reschke <lukas@owncloud.com>2015-09-09 18:07:43 +0200
commit436c149fbbca2c26d906dfb871bdafc8c7a2ab34 (patch)
tree9c676b4da41f4a5dbe1f651d3dec30e5f5c3b294 /core/templates/layout.guest.php
parent46a328a75ae0646c040640d53861f3956f8aa167 (diff)
downloadnextcloud-server-436c149fbbca2c26d906dfb871bdafc8c7a2ab34.tar.gz
nextcloud-server-436c149fbbca2c26d906dfb871bdafc8c7a2ab34.zip
Prevent referer from being sent
Nice hardening for enhanced privacy. Especially useful when using embedded viewers such as files_pdfviewer.
Diffstat (limited to 'core/templates/layout.guest.php')
-rw-r--r--core/templates/layout.guest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 0fd7521271d..56b762d3266 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -8,6 +8,7 @@
<?php p($theme->getTitle()); ?>
</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="referrer" content="never">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
<meta name="theme-color" content="<?php p($theme->getMailHeaderColor()); ?>">