Commit c831f130 authored by jkeiser%netscape.com's avatar jkeiser%netscape.com

Make attachment view work again (bug 204964), r=myk@mozilla.org

parent 156e1853
...@@ -402,7 +402,7 @@ sub view ...@@ -402,7 +402,7 @@ sub view
my $filesize = length($thedata); my $filesize = length($thedata);
print Bugzilla->cgi->header(-type=>"$contenttype; name=\"$filename\"", print Bugzilla->cgi->header(-type=>"$contenttype; name=\"$filename\"",
-content_disposition=> "inline; filename=$filename\n", -content_disposition=> "inline; filename=$filename",
-content_length => $filesize); -content_length => $filesize);
print $thedata; print $thedata;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment