Closed
Bug 234083
Opened 21 years ago
Closed 20 years ago
MIME type is ignored in new builds
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
INVALID
People
(Reporter: monban, Assigned: bugzilla)
Details
User-Agent:
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
The browser no longer correctly interprets the HTTP MIME tag. It seems to be
always falling back on using the file extension to 'guess' the file type, when
it should only do this if the server sends MIME type unknown. This is a
violation of HTTP protocol and a security risk.
Reproducible: Always
Steps to Reproduce:
Visit web server servering a file with an extension Mozilla has associated with
a particular application, and a MIME type differing from that.
Actual Results:
Browser ignored MIME type and used file name extension to determine file type.
Expected Results:
Browser should have used HTTP MIME tag to determine file type, and displayed
file accordingly.
Works for me in:
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
Firefox correctly handled every link on this page:
http://entropymine.com/jason/testbed/mime/
Do you have a specific example where it fails?
Updated•21 years ago
|
QA Contact: mconnor
Comment 2•20 years ago
|
||
Reporter, due to the Apache web server being badly set up in almost *all* cases,
Firefox (and now Mozilla) will fall back to extensions *IF* the MIME type is the
default configuration - i.e. text/plain; charset=iso-8859-1, I think. Either
way, it has to match exactly or it will use it as it has always done.
You fail to provide any actual information, so I suggest marking INVALID.
Comment 3•20 years ago
|
||
resolving INVALID, please reopen only if you can provide a specific
case/rationale addressing comment 2
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•