Hello all My user having “Disallowed Key Characters” error in IE/Chrome/Edge when they are accessing our Company website. I printed our the error “AMCV_DF38E5285913269B0A495E5A@AdobeOrg”. Workaround way is clear all cache and cookies of the browser, but after they restart their notebook the error comes back. I tried the $config[‘cookie_prefix’] = ‘im_’; found in the forum but no luck. May i know any suggestion? Thank you.
It depends a bit on what version of ExpressionEngine you’re running.
What version are you running?
We’ve removed that bit entirely in v5, see https://github.com/ExpressionEngine/ExpressionEngine/pull/215/commits/cd512d114aeeea8904b9b533200ba8ed4eed87fe
BUT I am not recommending you do that.
You really need to get updated. I took a look at some 2.4 code compared to 2.11- in 2.11 we only clean EE cookies (so the cookie prefix thing comes into play).
You can try patching your version- look for system/core/Input.php maybe around line 457, but that’s going to be version dependent. Look for:
foreach($_COOKIE as $key => $val)
{
$_COOKIE[$this->_clean_input_keys($key)] = $this->_clean_input_data($val);
}
In 2.11 the code is:
$cookie_prefix = config_item('cookie_prefix');
foreach($_COOKIE as $key => $val)
{
// Clean only our cookies
if (substr($key, 0, strlen($cookie_prefix)) == $cookie_prefix)
{
$_COOKIE[$this->_clean_input_keys($key)] = $this->_clean_input_data($val);
}
}
Hello Robin
Thank you very much! It works!!! Will be doing the upgrade toward end on the year.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.