mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-27 18:48:50 -04:00
1 parent
98cae8928b
commit
b2f76f3fe6
79 files changed
+1492
-1491
No files matched your search
@@ -726,7 +726,7 @@ class CI_Input {
|
||||
*/
|
||||
function _clean_input_keys($str)
|
||||
{
|
||||
if ( ! preg_match("/^[a-z0-9:_\/-]+$/i", $str))
|
||||
if ( ! preg_match("/^[a-z0-9:_\/-]+$|/i", $str))
|
||||
{
|
||||
exit('Disallowed Key Characters.');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user