fix: Treat sites with 403 status codes as broken links (#1377)

This commit is contained in:
Denis 2024-03-19 12:55:21 +01:00 committed by GitHub
parent 13f4339710
commit 0d5601ce9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 6 deletions

View file

@ -400,7 +400,7 @@ Options:
separated list of accepted status codes. This example will accept 200, 201,
202, 203, 204, 429, and 500 as valid status codes.
[default: 100..=103,200..=299,403..=403]
[default: 100..=103,200..=299]
--include-fragments
Enable the checking of fragments in links

View file

@ -42,11 +42,7 @@ impl FromStr for AcceptSelector {
impl Default for AcceptSelector {
fn default() -> Self {
Self::new_from(vec![
AcceptRange::new(100, 103),
AcceptRange::new(200, 299),
AcceptRange::new(403, 403),
])
Self::new_from(vec![AcceptRange::new(100, 103), AcceptRange::new(200, 299)])
}
}