PDF viewer does not support relative links from local files (file://)
Categories
(Firefox :: PDF Viewer, enhancement, P5)
Tracking
()
People
(Reporter: nilskemail+github, Unassigned)
References
Details
(Whiteboard: [pdfjs-ux][pdfjs-ux-wanted][pdfjs-integration])
Attachments
(1 file)
6.97 KB,
application/pdf
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36
Steps to reproduce:
Download the attached PDF and save it locally. Afterwards open it using firefox.
Actual results:
The left link is visible and one can interact with it. The right one not.
Expected results:
Both links should show up and one should be able to follow them.
Additional details:
The problem is also reported at the PDF.js repo (https://github.com/mozilla/pdf.js/issues/12415) but was closed there as it is not fixable there without changes to firefox. Inside PDF.js it would only require to allow file links which are currently disabled.
Firefox allows linking to local files from other local files however the PDF viewer is opened from the resource:// URI scheme which prevents this.
Other PDF viewers show these links. The best comparison is probably with Chrome as it is also subject to the security considerations of a browser. Chrome does not show the annotations boxes around the links but the links are both functional.
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•3 years ago
|
Description
•