Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
bc65d8c7
Commit
bc65d8c7
authored
Jul 31, 2013
by
Byron Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 896330: patchreader should not set the "expires" header
r=sgreen, a=sgreen
parent
e6c43208
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
PatchReader.pm
Bugzilla/Attachment/PatchReader.pm
+1
-2
No files found.
Bugzilla/Attachment/PatchReader.pm
View file @
bc65d8c7
...
@@ -268,8 +268,7 @@ sub setup_template_patch_reader {
...
@@ -268,8 +268,7 @@ sub setup_template_patch_reader {
&&
Bugzilla
->
params
->
{
'cvsroot_get'
}
&&
!
$vars
->
{
'newid'
};
&&
Bugzilla
->
params
->
{
'cvsroot_get'
}
&&
!
$vars
->
{
'newid'
};
# Print everything out.
# Print everything out.
print
$cgi
->
header
(
-
type
=>
'text/html'
,
print
$cgi
->
header
(
-
type
=>
'text/html'
);
-
expires
=>
'+3M'
);
$last_reader
->
sends_data_to
(
new
PatchReader::DiffPrinter::
template
(
$template
,
$last_reader
->
sends_data_to
(
new
PatchReader::DiffPrinter::
template
(
$template
,
"attachment/diff-header.$format.tmpl"
,
"attachment/diff-header.$format.tmpl"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment