diff options
author | Joas Schilling <coding@schilljs.com> | 2018-02-08 09:19:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-08 09:19:22 +0100 |
commit | b7321b6a05cdea811581af7132fd906a9102760c (patch) | |
tree | aab7705079b94761edacd122abc100d4574c8978 /core | |
parent | e5c08621afa6c6ed083a5a7a7e001bca91102f07 (diff) | |
parent | be42df8e48ac1ebff09afedfed2d3af8afc681aa (diff) | |
download | nextcloud-server-b7321b6a05cdea811581af7132fd906a9102760c.tar.gz nextcloud-server-b7321b6a05cdea811581af7132fd906a9102760c.zip |
Merge pull request #8214 from axllent/referrer-fix
Block referrer information with "no-referrer"
Diffstat (limited to 'core')
-rw-r--r-- | core/templates/layout.base.php | 2 | ||||
-rw-r--r-- | core/templates/layout.guest.php | 2 | ||||
-rw-r--r-- | core/templates/layout.user.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php index a5096b87b93..043ac32fbc6 100644 --- a/core/templates/layout.base.php +++ b/core/templates/layout.base.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="theme-color" content="<?php p($theme->getColorPrimary()); ?>"> <link rel="icon" href="<?php print_unescaped(image_path('', 'favicon.ico')); /* IE11+ supports png */ ?>"> 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()); ?>"> diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index c6885f692d5..c8c8ec84efa 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -9,7 +9,7 @@ ?> </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, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0"> <meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>"> <meta name="apple-mobile-web-app-capable" content="yes"> |