Allow 403 (check-browser) response from alternative.to in check func
This commit is contained in:
parent
805627be17
commit
78972794d0
@ -605,6 +605,8 @@ class SelfTest implements IWebsiteModule
|
|||||||
$count++;
|
$count++;
|
||||||
if ($r['statuscode'] === 200 || $r['statuscode'] === 301 || $r['statuscode'] === 302) { $message .= "[".$prog['name']."] Request to '$url' succeeded" . "\n"; continue; }
|
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
|
return
|
||||||
[
|
[
|
||||||
'result' => self::STATUS_ERROR,
|
'result' => self::STATUS_ERROR,
|
||||||
|
Loading…
Reference in New Issue
Block a user