Skip to content

[Bug]: test/pdfs/bug1443140.pdf.link link to webarchive is broken #20528

@Rob--W

Description

@Rob--W

Attach (recommended) or Link to PDF file

https://github.com/mozilla/pdf.js/blob/8af3060887b0652d01b828cdffbb612b16246588/test/pdfs/bug1443140.pdf.link

Steps to reproduce the problem

Take a look at the PDF linked from test/pdfs/bug1443140.pdf.link:

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions