Skip to content

Add support for redirection in meta http-equiv #237

Closed
@benoit74

Description

@benoit74

It is possible to redirect a page with a meta http-equiv:

<meta http-equiv="refresh" content="3;url=https://www.mozilla.org" />

See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#http-equiv

So far, Zimit2 does not rewrite these links which are hence not leading to content inside the ZIM.

These links should be considered for rewrite as well.

The result will of course depend on wether the redirect target is present inside the WARC/ZIM or not.

Which in turns depends on how the WARC has been built (i.e. did the system which built the WARC waited long enough to have the redirect target captured as well?) but this is beyond the scope of this issue / warc2zim. warc2zim must just ensure to consider these URLs for rewrite.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions