diff options
Diffstat (limited to 'index.cgi')
-rwxr-xr-x | index.cgi | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 +} |