Open GoogleCodeExporter opened 9 years ago
I ran into the same issue and I just removed the preg_quote altogether to
resolve it. I wonder if an update to CodeIgniter addresses this issue? Thanks
for the link, though.
Original comment by basilgo...@gmail.com
on 19 Nov 2010 at 3:16
I have the same error now, it was working fine... don't know why i get that
error now...
Original comment by maxim...@gmail.com
on 19 Apr 2012 at 9:25
To fix the issue
vim system/config/config.php
in Stikked folder and
comment $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
by adding # infront of it as follows.
# $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
credit:
http://kasunc.blogspot.co.uk/2012/02/how-to-fix-stikked-uri-you-submitted.html
Original comment by Mohan...@gmail.com
on 11 Mar 2013 at 1:38
this happens mainly because you have a hyphen in your domain.
commenting and allowing is not ideal, rather making the following changes:
" (assuming codeigniter 1.7.x)
1) in codeigiter system/libraries open URI.php line 189 you’ll find
if ( !
preg_match("|^[".preg_quote($this->config->item('permitted_uri_chars'))."]+$|i",
rawurlencode($str)))
change this code by
if ( ! preg_match("|^[".($this->config->item('permitted_uri_chars'))."]+$|i",
rawurlencode($str)))
2. Now another changes in your system/application/config/config.php file. Go to
the line 126
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_-';
change this code by
$config['permitted_uri_chars'] = 'a-z 0-9~%\.\:_\-';
After changes the code, save the file and refresh your browser."
source:
http://www.technologyrider.com/fixed-%E2%80%9Cthe-uri-you-submitted-has-disallow
ed-characters-%E2%80%9D-codeigniter-ci-error
Original comment by p.aub...@gmail.com
on 8 Apr 2013 at 5:33
THANK YOU
Original comment by gonguta....@gmail.com
on 21 Jun 2014 at 5:49
Original issue reported on code.google.com by
JimI...@gmail.com
on 20 Oct 2010 at 6:28