diff options
author | Ralph Slooten <axllent@gmail.com> | 2018-02-07 20:58:15 +1300 |
---|---|---|
committer | Ralph Slooten <axllent@gmail.com> | 2018-02-08 08:31:24 +1300 |
commit | be42df8e48ac1ebff09afedfed2d3af8afc681aa (patch) | |
tree | 7d8c1238fe9c33e903f644e35cb0015ae570c107 /core/templates/layout.guest.php | |
parent | 2a3272331f8b0e345df762ebeb54b2f58183225f (diff) | |
download | nextcloud-server-be42df8e48ac1ebff09afedfed2d3af8afc681aa.tar.gz nextcloud-server-be42df8e48ac1ebff09afedfed2d3af8afc681aa.zip |
Referrer fix (no-referrer)
Blocking referrer information should be done with "no-referrer" and not "never". See
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy
Signed-off-by: Ralph Slooten <axllent@gmail.com>
Diffstat (limited to 'core/templates/layout.guest.php')
-rw-r--r-- | core/templates/layout.guest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index e208af3c507..21bd72fc88b 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -6,7 +6,7 @@ <?php p($theme->getTitle()); ?> </title> <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <meta name="referrer" content="never"> + <meta name="referrer" content="no-referrer"> <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->getColorPrimary()); ?>"> |