Skip to content
Snippets Groups Projects
Commit ef0e6956 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: add special test

parent 8c3158cf
No related branches found
No related tags found
No related merge requests found
......@@ -194,7 +194,6 @@ function GETPOST($paramname,$check='',$method=0)
// '../' is dangerous because it allows dir transversals
if (preg_match('/"/',$out)) $out='';
else if (preg_match('/\.\.\//',$out)) $out='';
else if (preg_match('/(\s)*|(%20)*/',$out)) $out='';
}
elseif ($check == 'special')
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment