Fix: add special test

This commit is contained in:
Regis Houssin
2012-04-09 22:52:13 +02:00
parent 8c3158cf28
commit ef0e6956b3

View File

@@ -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')
{