mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-11 23:46:35 -04:00
For #3730. This replaces FILTER_SANITIZE_STRING with FILTER_SANITIZE_FULL_SPECIAL_CHARS.
This commit is contained in:
@@ -72,7 +72,7 @@ class Secure_Controller extends BaseController
|
||||
{
|
||||
$result = TRUE;
|
||||
|
||||
foreach($this->request->getVar(NULL, FILTER_SANITIZE_STRING) as $str)
|
||||
foreach($this->request->getVar(NULL, FILTER_SANITIZE_FULL_SPECIAL_CHARS) as $str)
|
||||
{
|
||||
$result &= parse_decimals($str);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user