diff options
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-x | attachment.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/attachment.cgi b/attachment.cgi index 5bb2a8537..8e69d388f 100755 --- a/attachment.cgi +++ b/attachment.cgi @@ -338,7 +338,8 @@ sub view { } print $cgi->header(-type=>"$contenttype; name=\"$filename\"", -content_disposition=> "$disposition; filename=\"$filename\"", - -content_length => $attachment->datasize); + -content_length => $attachment->datasize, + -x_content_type_options => "nosniff"); disable_utf8(); print $attachment->data; } |