summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.base.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.base.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.base.php')
-rw-r--r--core/templates/layout.base.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php
index 43d692c0364..b01820a05bb 100644
--- a/core/templates/layout.base.php
+++ b/core/templates/layout.base.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="theme-color" content="<?php p($theme->getMailHeaderColor()); ?>">
<link rel="shortcut icon" type="image/png" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>">