* fix and adjust code.
This commit is contained in:
@@ -1531,7 +1531,7 @@ class baseRouter
|
||||
foreach($passedParams as $param => $value)
|
||||
{
|
||||
if(preg_match('/[^a-zA-Z0-9_\.]/', $param)) die('Bad Request!');
|
||||
if(preg_match('/[^a-zA-Z0-9=_,`#+\/\.%\|\x7f-\xff]/', trim($value))) die('Bad Request!');
|
||||
if(preg_match('/[^a-zA-Z0-9=_,`#+\^\/\.%\|\x7f-\xff]/', trim($value))) die('Bad Request!');
|
||||
}
|
||||
|
||||
unset($passedParams['onlybody']);
|
||||
|
||||
Reference in New Issue
Block a user