diff options
author | Matt Selsky <selsky@columbia.edu> | 2012-05-29 17:01:42 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2012-05-29 17:01:42 +0200 |
commit | 9245e5ca7bab659a00bf301f3db22b8d9608f92b (patch) | |
tree | 59d66b8118bde17dbb1401eb2c3af62516381d7d /attachment.cgi | |
parent | 19b514899d02fde1c53916fe0c0a364548c6ab8d (diff) | |
download | bugzilla-9245e5ca7bab659a00bf301f3db22b8d9608f92b.tar.gz bugzilla-9245e5ca7bab659a00bf301f3db22b8d9608f92b.tar.xz |
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 2bc6e5454..92f48d05d 100755 --- a/attachment.cgi +++ b/attachment.cgi @@ -385,8 +385,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; } |