问题
I'm using CodeIgniter and I'm getting the following error:
Disallowed Key Characters.
This only happens in Chrome. I've tried it in Firefox and it is working well.
I don't use cookies, character #
, or method "get".
I need help how to solve this.
Thanks
回答1:
To allow the character # just add it in the following in your CONFIG file -
$config['permitted_uri_chars'] = '\#';
And now the character # will be allowed.
来源:https://stackoverflow.com/questions/25599724/codeigniter-disallowed-key-characters-in-chrome