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 --- attachment.cgi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'attachment.cgi') diff --git a/attachment.cgi b/attachment.cgi index 04bad37b3..64f78dc36 100755 --- a/attachment.cgi +++ b/attachment.cgi @@ -408,8 +408,7 @@ sub view { } print $cgi->header(-type=>"$contenttype; name=\"$filename\"", -content_disposition=> "$disposition; filename=\"$filename\"", - -content_length => $attachment->datasize, - -x_content_type_options => "nosniff"); + -content_length => $attachment->datasize); disable_utf8(); print $attachment->data; } -- cgit v1.2.3-24-g4f1b