The URI you submitted has disallowed characters. in codeigniter [solve]


[SOLVE]
first replace in config.php -$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';  to $config['permitted_uri_chars'] = 'a-z 0-9~%\.\:_\-';

second - replace from  D:\xampp\htdocs\hes\system\libraries\URI.php
if ( ! preg_match("|^[".preg_quote($this->config->item('permitted_uri_chars'))."]+$|i", $str))

to
if ( ! preg_match("|^[".($this->config->item('permitted_uri_chars'))."]+$|i", rawurlencode($str)))

i think you got my point and then working   good

Comments

Popular posts from this blog

php format date string short month

curl service example in php