Browse Source

[core] fix missing filter_input

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
Pierre Mazière 7 years ago
parent
commit
b31b6667f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -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