Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta http-equiv="refresh" redirects not being handled #552

Open
PranjalMaithani opened this issue Jun 7, 2023 · 0 comments
Open

meta http-equiv="refresh" redirects not being handled #552

PranjalMaithani opened this issue Jun 7, 2023 · 0 comments

Comments

@PranjalMaithani
Copy link

First, many thanks for creating this neat tool. We are using it in our org to check for broken links and it is doing its job phenomenally.

Just facing an issue with redirects. We are using the meta content tag with http-equiv="refresh" to generate redirects for our project.
Example

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

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

Linkinator doesn't seem to be checking the url inside the content attribute in this case. Is this expected?

Minimal reproduction repo for this: https://github.com/PranjalMaithani/linkinator-meta-redirect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant