Switch server blocklist check to case-insensitive shell wildcard
This commit is contained in:
parent
56e0a92d83
commit
46f7b79c7d
1 changed files with 1 additions and 1 deletions
|
@ -472,7 +472,7 @@ class Network
|
|||
}
|
||||
|
||||
foreach ($domain_blocklist as $domain_block) {
|
||||
if (strcasecmp($domain_block['domain'], $host) === 0) {
|
||||
if (fnmatch(strtolower($domain_block['domain']), strtolower($host))) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue