From cf36744b266d6e3e853d82067ea89f1e2b79d169 Mon Sep 17 00:00:00 2001 From: Dominique Hazael-Massieux Date: Fri, 20 Oct 2023 17:43:50 +0200 Subject: [PATCH] Handle 308 redirects in Web UI close #71 --- bin/checklink | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/checklink b/bin/checklink index b3a335a..9ce0cda 100755 --- a/bin/checklink +++ b/bin/checklink @@ -2770,7 +2770,7 @@ will not be able to follow this link.'; $whattodo = 'This is a temporary redirect. Update the link if you believe it makes sense, or leave it as is.'; } - elsif ($c == 301) { + elsif ($c == 301 || $c == 308) { $whattodo = 'This is a permanent redirect. The link should be updated.'; }