Closed Bug 6519 Opened 25 years ago Closed 25 years ago

problem with attachment MIME types

Categories

(Bugzilla :: Attachments & Requests, defect, P3)

x86
Windows 95

Tracking

()

VERIFIED FIXED
Bugzilla old

People

(Reporter: dbaron, Assigned: terry)

References

()

Details

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
Closed: 25 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.)
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
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.