Wrong mime type for PDF on Mac Version 22

RESOLVED INCOMPLETE

Status

()

RESOLVED INCOMPLETE
5 years ago
5 years ago

People

(Reporter: h.ahrens, Unassigned, NeedInfo)

Tracking

22 Branch
x86_64
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [bugday-20140113])

(Reporter)

Description

5 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36

Steps to reproduce:

File input field in form is checked for mime type by PHP:
if($_FILES['xx']['type']=="application/pdf"){...}

UserAgent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:22.0) Gecko/20100101 Firefox/22.0


Actual results:

wrong mime type in $_FILES['xx']['type']: "pdf/application"


Expected results:

mime type in $_FILES['xx']['type']: "application/pdf"
(Reporter)

Updated

5 years ago
OS: Windows 7 → Mac OS X

Comment 1

5 years ago
Hi, and thanks for submitting this bug.
Could you please provide a clear, concise description and complete steps to reproduce?
(Reporter)

Comment 2

5 years ago
Don't know how I can describe it better as before but I'll try:

---

a) In a PHP environment with FireFox for Mac I receive a wrong MimeType for PDF files uploaded in a form
b) catch the MimeType as string in "$_FILES['xx']['type']" from the POST data

expected result: "application/pdf"
wrong result: "pdf/application"

affected browser: UserAgent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:22.0) Gecko/20100101 Firefox/22.0

---

So what information do you need more to reproduce this by self?

Updated

5 years ago
Component: Untriaged → File Handling
Whiteboard: [bugday-20140113]
Could you please try the following :

1) try this with a clean profile: http://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles

2) running in Safe mode: http://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
Flags: needinfo?(h.ahrens)
Marked incomplete due to lack of response.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.