-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
Labels
Description
Attach (recommended) or Link to PDF file
Steps to reproduce the problem
Take a look at the PDF linked from test/pdfs/bug1443140.pdf.link:
pdf.js/test/pdfs/bug1443140.pdf.link
Line 1 in 8af3060
| https://web.archive.org/web/20180324105403/https://engineering.purdue.edu/~chengkok/papers/2005/p507-li.pdf |
It is a webarchive link, which (used to resolve) to a PDF.
Although the entry is still listed at https://web.archive.org/web/20180415000000*/https://engineering.purdue.edu/~chengkok/papers/2005/p507-li.pdf, it no longer points to the PDF. Instead, the following redirect chain happens:
- https://web.archive.org/web/20180324105403/https://engineering.purdue.edu/~chengkok/papers/2005/p507-li.pdf
- https://web.archive.org/web/20240803181025/https://engineering.purdue.edu/~chengkok/papers/2005/p507-li.pdf
- https://web.archive.org/web/20240803181025/http://www.ecn.purdue.edu/PAPERS
- https://web.archive.org/web/20240723112425/http://www.ecn.purdue.edu/PAPERS
- https://web.archive.org/web/20240723112425/https://engineering.purdue.edu/PAPERS
- https://web.archive.org/web/20240723112425/http://www.ecn.purdue.edu/PAPERS
- (repeat last redirect loop)
What is the expected behavior?
The externally linked PDFs should resolve. This may be a bug in the webarchive.
If the webarchive cannot be relied upon for archiving test PDF files, we'd have to host the PDFs elsewhere.
What went wrong?
The link points to an infinite redirect loop on the webarchive.