diff options
author | 2012-09-09 11:06:39 -0700 | |
---|---|---|
committer | 2012-09-09 11:06:39 -0700 | |
commit | 36d868c007f778e72ae31c521595515f428edae0 (patch) | |
tree | 2850427452ad2fb74a84d822fbdd9501aae6a375 /attachment.cgi | |
parent | Bug 786889: Add missing 'Summary (first 60 chars)' header to CSV output (diff) | |
download | bugzilla-36d868c007f778e72ae31c521595515f428edae0.tar.gz bugzilla-36d868c007f778e72ae31c521595515f428edae0.tar.bz2 bugzilla-36d868c007f778e72ae31c521595515f428edae0.zip |
Bug 671612: Send "X-Content-Type-Options: nosniff" with every response
r/a=LpSolit
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-x | attachment.cgi | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |