mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-31 13:50:23 +02:00
[core] better use of filter_input
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -113,8 +113,8 @@ try{
|
||||
$bridge->setCache($cache);
|
||||
}
|
||||
|
||||
$noproxy=filter_input(INPUT_GET,'_noproxy');
|
||||
if(defined('PROXY_URL') && PROXY_BYBRIDGE && !empty($noproxy)){
|
||||
$noproxy=filter_input(INPUT_GET,'_noproxy',FILTER_VALIDATE_BOOLEAN);
|
||||
if(defined('PROXY_URL') && PROXY_BYBRIDGE && $noproxy){
|
||||
$bridge->useProxy=false;
|
||||
}
|
||||
$bridge->loadMetadatas();
|
||||
|
Reference in New Issue
Block a user