Disallowed Key Characters In Codeigniter

This may occur because of cookie problem for your browser so for removing this error you need to test this url in separate browse or clear the cookie for your browser.i if you use google chrome than press ctrl + shift + n so that take you on new google chrome instance at where you can see that your link may work.

The cookie is __utmt. A Google Analytic cookie. The ~Number part probably means it’s a copy/duplicate. Think of it like the word.doc~1 files that are stored on your computer when working in a Word doc.

So first, check your Analytic code on the website, is the a duplicate somewhere? My problem was solved by altering this duplicated line:

Weird thing is that the file always had this duplicated line of code, for as far as my GIT goes back. It might be a change in the way analytics code handles cookies…

Oh, and the “Disallowed Key Characters” part. That’s normally a good thing, protecting your CI app against evil.

Its in the system\core\Input.php file.

Leave a Reply

Your email address will not be published. Required fields are marked *