code Igniter shows ‘Disallowed Key Characters’
April 6, 2010
Leave a comment
Before fetching an url CI check the POST , GET and others ( SERVER,COOKIE, ENV) global variables.
If any name value pair contains some special character ( except A-Za-z_ etc) in name part then CI show ‘Disallowed Key Characters’ error.
so, if you want to access any url with product%name=3c as POST values it will generate an ‘disallowed key characters’ error.
But if you pass ‘ productname=3c% ‘ as POST values CI will not catch thsi error.
You will get hint of this in system/libraries/input.php file on function _sanitize_globals().
Categories: code Igniter