mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-24 15:27:23 +00:00
Fix the wildcard condition in the whitelist test
This commit is contained in:
parent
e89f0a5d6f
commit
c9ee2053f1
@ -96,7 +96,7 @@ EOD;
|
||||
|| in_array($name . '.php', $whitelist)
|
||||
|| in_array($name . 'Bridge', $whitelist) // DEPRECATED
|
||||
|| in_array($name . 'Bridge.php', $whitelist) // DEPRECATED
|
||||
|| count($whitelist) === 1 and trim($whitelist[0]) === '*'){
|
||||
|| (count($whitelist) === 1 and trim($whitelist[0]) === '*')) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user