Closed Bug 766086 Opened 12 years ago Closed 8 years ago

PDF Viewer: Linked Documents In File Do Not Open

Categories

(Firefox :: PDF Viewer, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 52

People

(Reporter: drichard, Unassigned)

References

Details

(Whiteboard: [pdfjs-c-feature][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/7689)

Attachments

(1 file)

47.96 KB, application/pdf
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120619 Firefox/15.0a2
Build ID: 20120619042006

Steps to reproduce:

This PDF is constructed in a poor manner, but does work only when you have the Adobe Reader installed as a plugin.  There are links inside the PDF that appear relative to the web server, so if displayed in an outside viewer they fail to work.  The new PDF viewer in Firefox 15 does not understand how to handle them.  The link is:

http://pinellascounty.org/mpo/agendas/TCC_Meeting/TCCAgenda5-23-12doc.pdf



Actual results:

There are various ATTACHMENTS and a mouse hover indicates:

resource://pdf.js/web/   Clicking on the link does nothing.


Expected results:

Clicking on the links should open the various documents as it does with Adobe Reader running as a plugin.
Component: Untriaged → PDF Viewer
QA Contact: untriaged → pdf-viewer
Currently we're only allowing certain types of links and we are requiring them to be http, https, ftp or mailto links.  In the case of this document the link only has pdf filename in the link(not the full URL).  We'll need to add an exception for this and append the current url to this.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: 15 Branch → Trunk
Whiteboard: [pdfjs-c-feature]
The link from bug description is no longer valid (page not found). Does anyone have other pdf which reproduces this issue to attach in the bug?
http://www.pinellascounty.org/mpo/agendas/MPO_Meeting/agenda.pdf

This link seems to always be the most recent one.
Here is other pdf.

http://teachersresourcestoday.com/content/uploads/mypdf4.pdf

The first link, "Click me vndev60" is rendered correct. Its anchor begin with "http://".

The second link, "Click mpilink.asp" with anchor "mpi-link.asp?type=Page&PageCode=..." is render wrong. Expected : "http://teachersresourcestoday.com/content/uploads/mpi-link.asp?type=Page&PageCode=..."

The same issue with rest of links.
Is there any chance, that someone will fix this problem.
At UNESCO, we rely heavily on links between PDF documents e.g.
http://unesdoc.unesco.org/images/0023/002302/230282e.pdf

So I wish to stress the need for this feature

Thanks
Attached file 230282e.pdf
Whiteboard: [pdfjs-c-feature] → [pdfjs-c-feature][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/7689
Depends on: 1311866
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: