Open Bug 786657 Opened 12 years ago Updated 1 year ago

CSV mime type change

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

15 Branch
x86_64
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: chrisreiss, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0
Build ID: 20120824154833

Steps to reproduce:

Uploaded a CSV file using PHP in Firefox 15


Actual results:

Firefox 14.1 reported Mime type as 'text/csv', Firefox 15 now reports 'text/comma-separated-values'


Expected results:

Firefox 15 should be consistent in it's mime types and continued to report 'text/csv'
Firefox doesn't have a default list of all mime-types and there is no default value for .csv

Firefox looks into mimetypes.rdf in the Firefox userprofile for a mime-type/extension mapping. Values stored there are from the file save as dialog. You can get "bad" values in it if you visit a webserver that delivers a .csv with this "bad" mime-type.
If no entry for the given extension is found gecko will look into the windows registry for a extension/mime-type mapping.

That you can bad wrong values in your mimetypes.rdf is a dupe of an old bug but can't be easily fixed. and the second case is not a bug.
Component: Security: S/MIME → Event Handling
Component: Event Handling → User events and focus handling
Severity: normal → S3
See Also: → 1801755
You need to log in before you can comment on or make changes to this bug.