Skip to content

Commit

Permalink
fixing disallowed character bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nnunn committed Oct 28, 2015
1 parent 067726c commit 61c2fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/core/Input.php
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ function _clean_input_data($str)
*/
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.');
}
Expand Down

0 comments on commit 61c2fde

Please sign in to comment.