problem with attachment MIME types

VERIFIED FIXED in Bugzilla old

Status

()

P3
major
VERIFIED FIXED
20 years ago
6 years ago

People

(Reporter: dbaron, Assigned: terry)

Tracking

unspecified
Bugzilla old
x86
Windows 95

Details

(URL)

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.
(Assignee)

Updated

20 years ago
Status: NEW → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → FIXED
(Assignee)

Comment 3

20 years ago
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.)
Status: RESOLVED → VERIFIED
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.)
Moving to Bugzilla product
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
QA Contact: matty
Target Milestone: --- → Bugzilla old
Version: other → unspecified

Updated

16 years ago
Component: Bugzilla-General → attachment and request management
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.