From 3bd95a4452433e68b21935463cb9e6b07ff4e449 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 20 Feb 2018 09:11:48 -0500 Subject: Bug 1432296 - Prevent bugzilla static assets from being blocked by overly long request URIs --- template/en/default/global/header.html.tmpl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'template/en') 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 @@ [% END %] + [% IF Bugzilla.cgi.should_block_referrer %] + + [% ELSE %] + + [% END %] + [%- js_BUGZILLA = { param => { maxusermatches => Param('maxusermatches'), @@ -206,7 +212,6 @@ [% IF allow_mobile && is_mobile_browser %] [% END %] - [% Hook.process("additional_header") %] -- cgit v1.2.3-24-g4f1b