Closed
Bug 548324
Opened 14 years ago
Closed 14 years ago
[autoconfig] FetchHTTP should override MIME-Type of XML files
Categories
(Thunderbird :: Account Manager, defect)
Thunderbird
Account Manager
Tracking
(blocking-thunderbird3.0 -)
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
blocking-thunderbird3.0 | --- | - |
People
(Reporter: kohei, Unassigned)
Details
Attachments
(1 file)
2.42 KB,
patch
|
Details | Diff | Splinter Review |
While live.mm.c/autoconfig is the only autoconfig server for now, fetchConfigFromISP() will be implemented in the feature (Bug 524045 Comment 17 says the target is 3.1). Every server can serve XML files as test/plain or application/octet-stream accidentally by mis-configuration (or sometimes purposely), so XMLHttpRequest used in FetchHTTP() should override the MIME-Type of the files to increase availability. It also enables MozMill unit tests to load local configuration files, as I said in Bug 534604 Comment 14.
Reporter | ||
Updated•14 years ago
|
Summary: [autoconfig] override Mime Type of XML file → [autoconfig] FetchHTTP should override MIME-Type of XML files
Comment 1•14 years ago
|
||
I am intentionally only processing files serves with valid XML mimetype. If the server is not set up properly, it should be fixed. Servers (e.g. Apache) are preconfigured correctly since many years, because the mimetype *is* important. Note that MSIE used to ignore the mimetype and look for file extensions, and Mozilla used the mimetype. Nowadays, MSIE changed and looks at the mimetype, too. I try to say that the Mozilla project has a history of enforcing the mimetype. I think this is WONTFIX.
Comment 2•14 years ago
|
||
Indeed, seems to be solved by bug 534604 comment 19.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•