Recently I downloaded codeIgniter 2.1.1.
I droped the CI files on my wamp on windows 7, After that simply I opened up firefox and type localhost and I saw this message “Disallowed Key Characters”
But, I do not have this problem with Chrome and Opera.
Recently I downloaded codeIgniter 2.1.1. I droped the CI files on my wamp on
Share
There is this code in
system/core/Input.phpon line 728:It checks the keys in key=>value pairs eg: example.com?key=value if your key is not within the range of
a-z0-9:_/-it will throw that error.Change
exit('Disallowed Key Characters.');to
exit('Disallowed Key Characters.'.$str);to give you an idea about what key is at fault. Remember this perhaps is checking cookies through$_REQUEST/$_COOKIEso its also a good idea to clear your cookies, perhaps from an older script or version on the same path.hope it helps