Welcome Guest, Not a member yet? Register   Sign In
Disallowed Key Characters that don't seem to be able to fix in config
#11

[eluser]Oscar Sosa[/eluser]
Actually the problem is that Input.php specifically on te line 217 is not taking into account the permited_uri_chars config parameter, why?, it appears to me a bug, so, you can change that line by this:

if ( ! preg_match("/^[" . config_item('permitted_uri_chars') . "]+$/i", $str))

And now you can add all your chars to that parameter and it will be taken into account.

In my case, I was having problems with ' and \, cause I send an array (ie I have one table grid with names like row[0][description]).

My english is not good enough cause I'm not an english spoken person, sorry XD

Bye!
#12

[eluser]Oscar Sosa[/eluser]
Also note that if you want to escape a \ (backslash) you need to put four backslashes in your permitted_uri_chars parameter like this:

$config['permitted_uri_chars'] = 'a-z\s0-9~%.:_\-\'\\\\';




Theme © iAndrew 2016 - Forum software by © MyBB