CodeIgniter : Disallowed key Characters in Chrome

匆匆过客 提交于 2020-01-04 09:08:17

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!