Closed Bug 492811 Opened 15 years ago Closed 15 years ago

mimeTypes.rdf uses incorrect spelling for "application/xsl" in default profile

Categories

(Firefox :: File Handling, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 306471

People

(Reporter: ncsufry, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)

The mimeTypes.rdf file repeatedly references "applicaton/xsl" instead of "application/xsl".  This causes a failure for file upload forms that check against MIME types, since they will normally look for the correct spelling.

Reproducible: Sometimes

Steps to Reproduce:
1.  Using a form that has an input of type file, attempt to upload an Office 2003 XLS file (extension xls, MIME of application/xls).
2.  Perform server-side validation of the MIME type against "application/xls".
3.  The failure should be present.
Actual Results:  
Form submissions/file uploads fail.

Expected Results:  
Correct submission with successful file upload.

This was tested against a form and validation process developed in ColdFusion under XP/Firefox 3.0.10
It doesn't use that "in default profile" - the default mimeTypes.rdf is empty, and has been since October 2004. What you're seeing is that if you download something from a server that sends a broken mime-type, that is then stored in mimeTypes.rdf and used when you later upload. If you're seeing it right away when you create a new profile, you might want to check what type your own server is sending.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.