summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Attachment
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-07-31 15:45:04 +0200
committerByron Jones <bjones@mozilla.com>2013-07-31 15:45:04 +0200
commit94a7eb66783db51f8a50426edbd542b5d2132ea8 (patch)
treefa9bb34e1cd90a8ef5e259b0357d3bbe71048523 /Bugzilla/Attachment
parentd0e8fe1db901a2f6dac8e4a47b565754c38bc903 (diff)
downloadbugzilla-94a7eb66783db51f8a50426edbd542b5d2132ea8.tar.gz
bugzilla-94a7eb66783db51f8a50426edbd542b5d2132ea8.tar.xz
Bug 896330: patchreader should not set the "expires" header
Diffstat (limited to 'Bugzilla/Attachment')
-rw-r--r--Bugzilla/Attachment/PatchReader.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/Attachment/PatchReader.pm b/Bugzilla/Attachment/PatchReader.pm
index 049487b68..7c5dfc470 100644
--- a/Bugzilla/Attachment/PatchReader.pm
+++ b/Bugzilla/Attachment/PatchReader.pm
@@ -303,8 +303,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 Bugzilla::PatchReader::DiffPrinter::template($template,
"attachment/diff-header.$format.tmpl",