[core] fix missing filter_input

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2016-08-23 17:22:51 +02:00
parent 3c089c1b11
commit b31b6667f6

View file

@ -102,7 +102,7 @@ try{
$bridge=substr($bridge,0,$pos);
}
$format = $_REQUEST['format'];
$format = filter_input(INPUT_GET,'format');
unset($_REQUEST['format']);
// DEPRECATED: 'nameFormat' scheme is replaced by 'name' in format parameter values
// this is to keep compatibility until futher complete removal