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

Add a feature to exclude external link checks against internal links when they contain proto://host:port #47

Open
bennythejudge opened this issue Jul 19, 2017 · 0 comments · May be fixed by #215

Comments

@bennythejudge
Copy link

bennythejudge commented Jul 19, 2017

I cannot really take credit for this as it's @wjdp idea's.

If the HTML contains internal links with full URL, htmltest treats them as external links and hence requires the site being checked to be served and reachable to test with an HTTP GET.

i.e:
<link rel="stylesheet" href="http://localhost:1313/stylesheets/styles.css" />

Would it be possible to add a feature to htmltest to set a URL (in the example above http://localhost:1313) to be considered as internal?

It could be something like IgnoreThisInURLs

IgnoreThisInURLs: "http://localhost:1313"

Thanks

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

Successfully merging a pull request may close this issue.

2 participants