From 36d868c007f778e72ae31c521595515f428edae0 Mon Sep 17 00:00:00 2001 From: Matt Selsky Date: Sun, 9 Sep 2012 11:06:39 -0700 Subject: Bug 671612: Send "X-Content-Type-Options: nosniff" with every response r/a=LpSolit --- Bugzilla/Attachment/PatchReader.pm | 2 -- 1 file changed, 2 deletions(-) (limited to 'Bugzilla/Attachment') diff --git a/Bugzilla/Attachment/PatchReader.pm b/Bugzilla/Attachment/PatchReader.pm index 01a624a8f..cfc7610f4 100644 --- a/Bugzilla/Attachment/PatchReader.pm +++ b/Bugzilla/Attachment/PatchReader.pm @@ -37,7 +37,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); @@ -119,7 +118,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(); } -- cgit v1.2.3-24-g4f1b