wjdp / htmltest

:white_check_mark: Test generated HTML for problems
MIT License
323 stars 54 forks source link

Add Configuration Option to Limit Redirects #204

Closed istr closed 1 year ago

istr commented 1 year ago

When testing for stale / outdated links it is very helpful to fail on redirects.

I propose to add a RedirectLimit option (as int value) with the following semantics

Setting this to 0 would result in a failure for redirected links.

I will prepare a PR for this shortly.

wjdp commented 1 year ago

Implemented in #205