Bugzilla is adding information to attachment MIME types. In the attachment linked from the above page, http://bugzilla.mozilla.org/show_bug.cgi?id=6518 it is giving the MIME type: Content-Type: text/xml; name="c:\node_e~1.xml"; and thus the page is not being recognized as XML by Mozilla, making the attachment useless. Although it *probably* should (I'm not sure) be recognized as XML, it would be better if bugzilla served the MIME type exactly as given.
I just confirmed this does happen on other attachments (I tried two others, both html).
Per both the XML MIME type registration: ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/text/xml and RFC 1521: http://info.internet.isi.edu/in-notes/rfc/files/rfc1521.txt the only legal parameter for a text/xml MIME type (or text/xml, for the first source) is charset.
Status: NEW → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → FIXED
OK, I've stopped putting on the "name=" stuff. (It wasn't having the desired effect, anyway; I was hoping it would help provide a default name when people tried to save an attachment to disk.)
Verified fixed by telnetting to bugzilla.mozilla.org on port 80. (For some reason, the server gives type text/html for a HEAD request, but the correct text/xml for a GET request. Is this new? I don't seem to remember it. It may be another bug.)
References of possible interest: ftp://ftp.isi.edu/in-notes/rfc2616.txt, section 19.5.1 http://andrew2.andrew.cmu.edu/rfc/rfc1806.html bug 20383 bug 27248
Moving to Bugzilla product
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
QA Contact: matty
Target Milestone: --- → Bugzilla old
Version: other → unspecified
You need to log in before you can comment on or make changes to this bug.