Disallowed Key Characters when doing an AJAX POST [duplicate]
I ran into this problem with CodeIgniter and found a solution here: http://codeigniter.com/forums/viewthread/140333/. It involves either making changes to system/libraries/Input.php
in CodeIgniter or removing characters forbidden by the regular expression.
These lines are where the error message originates:
if ( ! preg_match("/^[a-z0-9:_\/-]+$/i", $str)){ exit('Disallowed Key Characters.');}