periods in uri goes to underscore |
[eluser]gullah[/eluser]
I'm trying to pass something such as mt.-John in my uri and the period always get translated to an underscore (_). I have periods allowed in my config. I removed the ? from my htaccess file as suggested by some other thread and still nothing. Any ideas?
[eluser]maesk[/eluser]
Try setting Code: $config['uri_protocol'] = 'REQUEST_URI'; and check out this thread: http://ellislab.com/forums/viewthread/75734/
[eluser]sdclee[/eluser]
The answer given might not work in all cases and right now I don't have the time to find out exactly why, but on my linux box, the setting I had to use was: $config['uri_protocol'] = "QUERY_STRING"; as the REQUEST_URI option resulted in invalid charaters error: The URI you submitted has disallowed characters. I suspect that is because I am not using mod_rewrite and therefore the '?' char is invalid in that configuration, eg: $config['index_page'] = "index.php?"; a URI such as 'http://mydomain.com/foo/foo/username/lee.crampton' now works (ie the '.' is not being transformed into an underscore). |
Welcome Guest, Not a member yet? Register Sign In |