Revert "Fix: add special test"

This reverts commit ef0e6956b3.
This commit is contained in:
Laurent Destailleur 2012-04-10 01:03:43 +02:00
parent ef0e6956b3
commit 212b3bd60e

View File

@ -194,6 +194,7 @@ 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')
{