Skip to content

Redirected-to URLs cannot be queried in page list #1083

Description

@SuaYoo

Issue

When a seed redirects, the redirect target URL cannot be searched for or queried in the page list. This leads to UX issues downstream in tools in ReplayWeb.Page.

For example, given the seed URL https://iana.org/domains/example, the page list will return a url of https://iana.org/domains/example. During replay, the actual URL displayed for the archived page will be https://www.iana.org/help/example-domains. This would indicate that the URL exists in the page list; however, searching through the page list for https://www.iana.org/help/example-domains does not return any results.

Image Image

Requirements

The page list should include the final URL that returns a 200 for redirects. This URL should be searchable/able to be queried from the page list endpoint.

Ideas

Some suggestions for ways to approach the issue:

  • Include the redirected-to URL as a separate non-seed URL entry in the pages list.
  • Add a new field to the page entry that keeps track of URLs in the redirect chain, and allow querying by them.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions