Welcome Guest, Not a member yet? Register   Sign In
spaces in URLs converted to _
#41

[eluser]felyx[/eluser]
[quote author="maesk" date="1232134081"]I just ran into the same issue as well, after a lot of print_r()'s and playing with the permitted URI chars etc. I thought let's try the forum and thankfully I found this thread. Special thanks to sophistry and cyang for pointing this out because it would have taken me hours to find this if at all...

Code:
$config['uri_protocol']    = 'REQUEST_URI';

(config.php, around line 46) did the trick for me.[/quote]

Had the same problem with CI v1.7, changing the uri protocol to REQUEST_URI solved it for me also.
#42

[eluser]Colin Williams[/eluser]
My assumption is $_SERVER['PATH_INFO'] gives you underscores whereas $_SERVER['REQUEST_URI'] gives you the +/spaces. If your uri_protocol is AUTO, it's likely CI is going to end up using PATH_INFO.




Theme © iAndrew 2016 - Forum software by © MyBB