https://bugzilla.wikimedia.org/show_bug.cgi?id=54181

--- Comment #15 from Brion Vibber <[email protected]> ---
Maybe after this line:

  my $disposition = Bugzilla->params->{'allow_attachment_display'} ? 'inline' :
'attachment';

Add something like this?

  if ($contenttype =~ /^image\/(png|gif|jpeg)$/) {
    // If a PNG, GIF, or JPEG is going to break your browser
    // you have much, much bigger problems.
    //
    // Note that some really old versions of IE could misdetect PNG images
    // as HTML, but if you're using IE 5.5 for your modern web development
    // that's kinda your problem. ;)
    $disposition = "inline";
  }

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to