Closed
Bug 508741
Opened 15 years ago
Closed 10 years ago
Incorrect MIME type when uploading xls file (as seen by PHP)
Categories
(Firefox :: File Handling, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 306471
People
(Reporter: s.nagarajan, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5 GTB5 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5 GTB5 I upload an xls file in my script. The PHP Script receives the MIME type of uploaded file as php/doc/xml/html/htm/asp/jpg/jpg/sql/txt/jpeg/gif/bmp/png/xls/csv/x-ms-asf. But i upload same file in other browsers. The PHP Script receives the MIME type of uploaded file as application/vnd.ms-excel. Reproducible: Always Actual Results: php/doc/xml/html/htm/asp/jpg/jpg/sql/txt/jpeg/gif/bmp/png/xls/csv/x-ms-asf Expected Results: application/vnd.ms-excel
Comment 1•15 years ago
|
||
I don't see any related to security here. Opening so more eyes can peek at it.
Group: core-security
Updated•15 years ago
|
Summary: Problem in upload an xls file → Incorrect MIME type when uploading xls file (as seen by PHP)
Comment 2•13 years ago
|
||
This is likely a problem with your setup. Firefox normally sends just wrong types, not bogus types. Otherwise it would be duplicate of something like bug 547234 bug 508647 bug 512982 bug 491982 bug 373621
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•