summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/header.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/global/header.html.tmpl')
-rw-r--r--template/en/default/global/header.html.tmpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index 04b996e16..428354233 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -98,6 +98,12 @@
<meta charset="UTF-8">
[% END %]
+ [% IF Bugzilla.cgi.should_block_referrer %]
+ <meta name="referrer" content="origin">
+ [% ELSE %]
+ <meta name="referrer" content="origin-when-crossorigin">
+ [% END %]
+
[%- js_BUGZILLA = {
param => {
maxusermatches => Param('maxusermatches'),
@@ -206,7 +212,6 @@
[% IF allow_mobile && is_mobile_browser %]
<meta name="viewport" content="width=device-width, initial-scale=1">
[% END %]
- <meta name="referrer" content="origin-when-crossorigin">
[% Hook.process("additional_header") %]
</head>