summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Attachment
diff options
context:
space:
mode:
authorReed Loden <reed@reedloden.com>2012-09-09 20:18:13 +0200
committerReed Loden <reed@reedloden.com>2012-09-09 20:18:13 +0200
commit5b60e53069cec09fabcdebb9a0f02b1f360b7093 (patch)
treed75cdaa860626fa35159ac5d84342861cbcabe1a /Bugzilla/Attachment
parenteff81ebcc4cca75b7b4feba1fe529d8272855c45 (diff)
parent36d868c007f778e72ae31c521595515f428edae0 (diff)
downloadbugzilla-5b60e53069cec09fabcdebb9a0f02b1f360b7093.tar.gz
bugzilla-5b60e53069cec09fabcdebb9a0f02b1f360b7093.tar.xz
Merge from bugzilla/4.2
Diffstat (limited to 'Bugzilla/Attachment')
-rw-r--r--Bugzilla/Attachment/PatchReader.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/Bugzilla/Attachment/PatchReader.pm b/Bugzilla/Attachment/PatchReader.pm
index 152b210d6..a9df6e34e 100644
--- a/Bugzilla/Attachment/PatchReader.pm
+++ b/Bugzilla/Attachment/PatchReader.pm
@@ -37,7 +37,6 @@ sub process_diff {
$last_reader->sends_data_to(new Bugzilla::PatchReader::DiffPrinter::raw());
# Actually print out the patch.
print $cgi->header(-type => 'text/plain',
- -x_content_type_options => "nosniff",
-expires => '+3M');
disable_utf8();
$reader->iterate_string('Attachment ' . $attachment->id, $attachment->data);
@@ -119,7 +118,6 @@ sub process_interdiff {
$last_reader->sends_data_to(new Bugzilla::PatchReader::DiffPrinter::raw());
# Actually print out the patch.
print $cgi->header(-type => 'text/plain',
- -x_content_type_options => "nosniff",
-expires => '+3M');
disable_utf8();
}