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

False positive on link with url encoded character #110

Closed
MihaiDamian opened this issue Sep 3, 2014 · 1 comment · Fixed by #122
Closed

False positive on link with url encoded character #110

MihaiDamian opened this issue Sep 3, 2014 · 1 comment · Fixed by #122

Comments

@MihaiDamian
Copy link

I have the following snippet in one of my html files:

<link rel="prefetch" href="data/c%23.csv">

On disk, the linked file is named c#.csv so I am url encoding the number sign character in html.

html-proofer reports the following error when encountering this:

index.html: internally linking to data/c%23.csv, which does not exist

This can't be right. I'm referencing a few more files from the same path and this is the only one that produces an error, so the issue is definitely related to the encoded character.

@benbalter
Copy link
Contributor

The same is true for basic (utf-8) characters. Believe it's a limitation in URI.parse.

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

Successfully merging a pull request may close this issue.

2 participants