aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/Attachment
diff options
context:
space:
mode:
authorMatt Selsky <selsky@columbia.edu>2012-05-29 17:01:42 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-05-29 17:01:42 +0200
commit9245e5ca7bab659a00bf301f3db22b8d9608f92b (patch)
tree59d66b8118bde17dbb1401eb2c3af62516381d7d /Bugzilla/Attachment
parent19b514899d02fde1c53916fe0c0a364548c6ab8d (diff)
downloadbugs-9245e5ca7bab659a00bf301f3db22b8d9608f92b.tar
bugs-9245e5ca7bab659a00bf301f3db22b8d9608f92b.tar.gz
bugs-9245e5ca7bab659a00bf301f3db22b8d9608f92b.tar.bz2
bugs-9245e5ca7bab659a00bf301f3db22b8d9608f92b.tar.xz
bugs-9245e5ca7bab659a00bf301f3db22b8d9608f92b.zip
Bug 671612: Send "X-Content-Type-Options: nosniff" with every response
r/a=LpSolit
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 c79b96ed2..e9cb189ef 100644
--- a/Bugzilla/Attachment/PatchReader.pm
+++ b/Bugzilla/Attachment/PatchReader.pm
@@ -27,7 +27,6 @@ sub process_diff {
$last_reader->sends_data_to(new 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);
@@ -109,7 +108,6 @@ sub process_interdiff {
$last_reader->sends_data_to(new PatchReader::DiffPrinter::raw());
# Actually print out the patch.
print $cgi->header(-type => 'text/plain',
- -x_content_type_options => "nosniff",
-expires => '+3M');
disable_utf8();
}