Closed Bug 172154 Opened 23 years ago Closed 21 years ago

XML Attachments with UTF-8 byte order mark, are not detected correctly

Categories

(Bugzilla :: Attachments & Requests, defect)

2.16
x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: dws, Assigned: myk)

Details

Attachments

(1 file)

319 bytes, application/octet-stream
Details
The "autodetect" option for the attachment does not detect that files are text/xml if they start with a UTF byte order mark. I assume this is due to the three bytes (in UTF-8) of "junk" before the XML declaration.
Attached file XML file with BOM
What browser were you using? The autodetect is done by the client web browser, not by Bugzilla. So if it's getting it wrong, it's your browser's fault. (Telling Bugzilla to autodetect just means it trusts what the browser tells it)
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
I was using mozilla, but it was quite some time ago now. Thank you for that explanation. I was assuming that autodetect used something like file(1)'s magic database.
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: