-
Notifications
You must be signed in to change notification settings - Fork 54
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
IgnoreURLs doesn't work on relative URLs #168
Comments
I can confirm this bug too. thanks |
I'm no good at golang, but looking at the source, it seems that the |
Not that simple because |
OK. I made a small patch with a new option |
Sorry but i do not succeed to submit a PR. My branch
|
@divinerites - You need to fork the repo. Once you fork, you'll have permissions to push the branch to your personal fork. From there, you can make a pull request into the main repo. |
Any news for my PR ? |
Solved by #169 |
Describe the bug
I have a server-side redirect on my production site, but on the static site, it looks like a broken link. I want to tell htmltest to ignore it, but I can't figure out how. Using
IgnoreURLs
seems to have no effect on a relative URLTo Reproduce
IgnoreURLs
.htmltest.yml
Source files
Expected behaviour
htmltest ignores the broken
/foo/bar
relative link.Actual behaviour
htmltest reports error:
target does not exist --- index.html --> /foo/bar
Even if I change the
IgnoreURLs
to.*/foo/bar
, it still flags this as a broken link. I'm not sure if this is a bug in htmltest or if I'm misunderstanding how to specify IgnoreURLs for relative links.Versions
htmltest v0.14.0, 2021-01-23T18:38:58Z
Additional context
Thanks so much for your work on htmltest! I'd love to make a financial donation to the project if that's an option.
The text was updated successfully, but these errors were encountered: