]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 896330: patchreader should not set the "expires" header
authorByron Jones <bjones@mozilla.com>
Wed, 31 Jul 2013 13:45:55 +0000 (21:45 +0800)
committerByron Jones <bjones@mozilla.com>
Wed, 31 Jul 2013 13:45:55 +0000 (21:45 +0800)
r=sgreen, a=sgreen

Bugzilla/Attachment/PatchReader.pm

index e9cb189efaacfaf4c8672d13daaa7c4e997bf866..4026ba7393d4809a519d60d577e49820676ededb 100644 (file)
@@ -268,8 +268,7 @@ sub setup_template_patch_reader {
                             && Bugzilla->params->{'cvsroot_get'} && !$vars->{'newid'};
 
     # Print everything out.
-    print $cgi->header(-type => 'text/html',
-                       -expires => '+3M');
+    print $cgi->header(-type => 'text/html');
 
     $last_reader->sends_data_to(new PatchReader::DiffPrinter::template($template,
                                 "attachment/diff-header.$format.tmpl",