wjdp / htmltest

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

exceptions for EnforceHTTPS #191

Closed kylrth closed 2 years ago

kylrth commented 2 years ago

EnforceHTTPS has already helped me discover several instances where I point to the HTTP version of an external site when there's a functioning HTTPS version. Unfortunately, a few sites are only available with HTTP, but I don't want to add them to IgnoreURLs because I still do want to check them. Can we add a separate exception list for EnforceHTTPS?

I'm willing to open a PR but I wanted to run it by you first.

wjdp commented 2 years ago

Heya @kylrth! This use case makes a lot of sense, I'd be open to accepting a PR for this.