mirror of
https://github.com/Hopiu/lychee.git
synced 2026-04-19 20:51:02 +00:00
With the refactoring the URL checking as a workaround for the upstream reqwest panic on invalid URLs, we introduced a regression, which caused unsupported URL schemes to show up as errors in the lychee output. This commit changes the behavior such that invalid schemes get ignored again by making a differentiation between truly invalid URIs which would make reqwest panic, and ones which are valid but just not handled by reqwest. The check was moved to `check_website` such that the invalid URIs would not be checked three times in a loop before erroring out. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| LICENSE-APACHE | ||
| LICENSE-MIT | ||