Disallowed Key Characters

I got some works made with CodeIgnitor framework…
Some of them were returning me

Disallowed Key Characters

The solution was, on system/core/Input.php make the following change

if ( ! preg_match("/^[a-z0-9:_\/-]+$/i", $str))
                {
                      exit('Disallowed Key Characters.');
                }

To

if ( ! preg_match("/^[a-z0-9:_\/-~]+$/i", $str))
                {
                      exit('Disallowed Key Characters.');
                }

Leave a Reply

Your email address will not be published. Required fields are marked *

*