Closed Bug 1055561 Opened 10 years ago Closed 3 months ago

Mime type incorrect for PDF uploads with PHP on Firefox version 31

Categories

(Firefox :: File Handling, defect, P3)

31 Branch
x86_64
Windows 7
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: djhyde001, Unassigned)

Details

(Whiteboard: pdf mime detected as application/x-forcedownload on file upload)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release)
Build ID: 20140716183446

Steps to reproduce:

Upload pdf document using standard webform using Firefox version 31.  Repeated with version 30 and worked correctly.


Actual results:

php detects mime type as application/x-forcedownload



Expected results:

php should detect mime type as application/pdf
Severity: normal → major
Priority: -- → P3
Whiteboard: pdf mime detected as application/x-forcedownload on file upload
Further investigation has shown that this bug only appears when Firefox has been upgraded from a previous version.  Performing a reset Firefox fixes the problem.  Maybe mimeTypes.rdf becomes corrupt during the upgrade.  

Also a fresh install of Firefox 31, when it hasn’t been installed before is also unaffected.
Severity: major → normal
Component: Untriaged → File Handling
Severity: normal → S3

Resolving as incomplete, as after 10 years too many things changed to properly debug the original issue.
Also restricting comments for repeated spam.

Status: UNCONFIRMED → RESOLVED
Closed: 3 months ago
Resolution: --- → INCOMPLETE
Restrict Comments: true
You need to log in before you can comment on or make changes to this bug.