mdlinkcheck: exclude self from URL search

To avoid picking up the whitelist.

Closes #19909
This commit is contained in:
Viktor Szakats 2025-12-09 22:26:41 +01:00
parent a7c974e038
commit 920319855d
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -197,7 +197,9 @@ sub checkurl {
for my $f (@files) {
chomp $f;
findlinks($f);
if($f !~ /\/mdlinkcheck$/) {
findlinks($f);
}
}
#for my $u (sort keys %url) {