summaryrefslogtreecommitdiffstats
path: root/index.cgi
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-04-05 16:48:53 +0200
committerDylan William Hardison <dylan@hardison.net>2017-04-05 16:49:16 +0200
commit781249a9f9a03d2753241389a2a2a5463b373f0e (patch)
tree0ab72e0f3b7f74a8fba10cca6a957c12227f2596 /index.cgi
parent1fedd4417705585548375c11ec67cfec26d9b995 (diff)
downloadbugzilla-781249a9f9a03d2753241389a2a2a5463b373f0e.tar.gz
bugzilla-781249a9f9a03d2753241389a2a2a5463b373f0e.tar.xz
[tests] fix markup to make tests pass.
Diffstat (limited to 'index.cgi')
-rwxr-xr-xindex.cgi8
1 files changed, 6 insertions, 2 deletions
diff --git a/index.cgi b/index.cgi
index 420a162b6..7ebc3130f 100755
--- a/index.cgi
+++ b/index.cgi
@@ -44,7 +44,11 @@ if ($cgi->param('logout')) {
# our weak etag is based on the bugzilla version parameter (BMO customization) and the announcehtml
# if either change, the cache will be considered invalid.
-my @etag_parts = (Bugzilla->params->{bugzilla_version}, Bugzilla->params->{announcehtml});
+my @etag_parts = (
+ Bugzilla->params->{bugzilla_version},
+ Bugzilla->params->{announcehtml},
+ Bugzilla->params->{createemailregexp},
+);
my $weak_etag = q{W/"} . md5_hex(@etag_parts) . q{"};
my $if_none_match = $cgi->http('If-None-Match');
@@ -84,4 +88,4 @@ else {
# Generate and return the UI (HTML page) from the appropriate template.
$template->process("index.html.tmpl", $vars)
or ThrowTemplateError( $template->error() );
-} \ No newline at end of file
+}