When a SVG file is attached to a bug, for instance here
the MIME type of the file is detected as image/svg, which is wrong. The correct file type is image/svg+xml.
To confirm this, compare:
http://www.corpsmoderne.net/~eve97/vertex/faceglass.svg (view source, you'll see that the file is image/svg+xml)
http://bugs.freedesktop.org/attachment.cgi?id=28637 (file served with the wrong MIME type)
When a user will click the attachment above, with this wrong MIME type, his browser will prompt him for an action, and the user who will answer "download" innocently will have a new MIME type/Helper Application registered in the "Helper Applications" of such browsers as Firefox 2 and 3 and SeaMonkey 2.
This will make the browser detect all new local SVG files as image/svg, and it is a major annoyance, not only because SVG won't be displayed directly in the browser as they should be, but also because removing this wrong entry for MIME type is *difficult* in newest versions of Firefox and SeaMonkey (I don't know about other browsers such as Opera, and I'm not going to try :p )
So Bugzilla should detect the correct file type, image/svg+xml, and this probably also applies to SVGZ, which is image/svg+xml also
The newer bugzilla seems to have fixed this. I've also updated the mime type of all existing image/svg attachments.
on Oct 27, 2016 at 20:33:35.
(provided by the Example extension).