1
0

Allow 403 (check-browser) response from alternative.to in check func

This commit is contained in:
Mike Schwörer 2022-10-20 16:21:48 +02:00
parent 805627be17
commit 78972794d0
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF

View File

@ -605,6 +605,8 @@ class SelfTest implements IWebsiteModule
$count++;
if ($r['statuscode'] === 200 || $r['statuscode'] === 301 || $r['statuscode'] === 302) { $message .= "[".$prog['name']."] Request to '$url' succeeded" . "\n"; continue; }
if ($r['statuscode'] === 403 && $urlname === 'alternativeto') { $message .= "[".$prog['name']."] Request to '$url' succeeded (alternative.to | 403)" . "\n"; continue; }
return
[
'result' => self::STATUS_ERROR,