]> 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:44:37 +0000 (21:44 +0800)
committerByron Jones <bjones@mozilla.com>
Wed, 31 Jul 2013 13:44:37 +0000 (21:44 +0800)
r=sgreen, a=sgreen

Bugzilla/Attachment/PatchReader.pm

index 7bbbfacae7ad6abaffb38a11edd5fef406468d88..b29240c5b7c3665d36eb5674e2bd1d4ad3cc9d59 100644 (file)
@@ -296,8 +296,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",