Closed Bug 891334 Opened 7 years ago Closed 7 years ago
PDF File upload : wrong mime type (js)
Yury, any suggestions please ?
Component: Untriaged → File Handling
Product: Firefox → Core
I think we've got two choices here: if the OS does not appear to be providing us with any good hint, we can add the pdf extension to the list extraMimeEntries list in nsExternalHelperAppService, or we could rely on pdf.js to add a MIME entry for PDFs via the ext-to-type-mapping category. Personally, I think we would want this regardless of the presence of pdf.js.
Boris, you seem to have reviewed changes to the extraMimeEntries list in the past. Would adding one for PDF make sense here?
I think adding PDF there is totally reasonable.
This will be a very simple change for someone to make.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [mentor=jdm][lang=c++][good first bug]
Assignee: nobody → birunthan
Status: NEW → ASSIGNED
Attachment #777192 - Flags: review?(josh)
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in before you can comment on or make changes to this bug.