Skip to content

Commit

Permalink
Fix: add special test
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Apr 9, 2012
1 parent 8c3158c commit ef0e695
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion htdocs/core/lib/functions.lib.php
Expand Up @@ -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')
{
Expand Down

0 comments on commit ef0e695

Please sign in to comment.