-
Notifications
You must be signed in to change notification settings - Fork 78
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
Escaped URLs are not processed #323
Comments
I have a similar issue with links that contain a period in their URL. For example: |
@antoniancu I think you're experiencing an entirely different problem. That url you posted is weird, and I think may rely on some kind of cookie being persisted across requests. Even curl can't seem to follow it:
If you run
I would have to do some serious digging to try and figure out how cookie persistence works across requests (if that's even a thing we want to do), and I just think that would overcomplicate things beyond being useful. Please feel free to open a separate issue to track this if you like though! |
🎉 This issue has been resolved in version 3.0.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hi,
Linkinator doesn't process escaped URLs correctly (or at all).
The following HTML:
Located in index.html of the following file tree:
Gives the following output:
npx linkinator index.html 🏊♂️ crawling index.html [200] index.html [200] this_:_is_a_colon.html [404] this_%3a_is_a_colon.html [404] this_%20_is_a_space.html [200] index.html index.html [200] this_:_is_a_colon.html [404] this_%3a_is_a_colon.html [404] this_%20_is_a_space.html ERROR: Detected 2 broken links. Scanned 4 links in 0.028 seconds.
The escaped URLs are reported as 404s, and the link with a literal space in it is not reported at all.
In Firefox, all four links work. As you can see, this means that there is no way to specify a link that has a space in it in a way that linkinator will accept.
The file tree described above is available here
linkinator-url-escape.zip.
Thanks!
The text was updated successfully, but these errors were encountered: