Does not map pdf files to document type
Bug #1374611 reported by
Andrew Hayzen
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webbrowser-app |
Fix Released
|
High
|
Alexandre Abreu | ||
webbrowser-app (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Attempting to test adding content-hub support to docviewer and I have noticed that pdf files are not mapped to the document type when they are opened in the web browser.
Related branches
lp:~abreu-alexandre/webbrowser-app/content-hub-pdf
- Michael Sheldon (community): Approve
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Olivier Tilloy: Approve
-
Diff: 27 lines (+5/-1)2 files modifiedsrc/app/FileExtensionMapper.js (+1/-0)
src/app/MimeTypeMapper.js (+4/-1)
Changed in webbrowser-app: | |
assignee: | nobody → Alexandre Abreu (abreu-alexandre) |
Changed in webbrowser-app: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in webbrowser-app: | |
status: | Triaged → In Progress |
Changed in webbrowser-app: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
We should probably add "pdf" to the list of recognized extensions in src/app/ FileExtensionMa pper.js and "application/pdf" to the list of recognized mime types in src/app/ MimeTypeMapper. js.