07-14-2009, 08:02 AM
[eluser]lukeinjax[/eluser]
I have a page where I'm trying to include a plus in the url. I've allowed the plus char in my config file in 'permitted_uri_chars', but for some reason $this->uri->segment seems to be stripping out the + chars and replacing them with _. Can anyone tell me how to get around this?
If I do:
echo $_SERVER['REQUEST_URI'];
I get:
/search/plumber/jacksonville_fl_+_tx
If I do:
echo $this->uri->segment(3);
I get:
jacksonville_fl___tx
I have a page where I'm trying to include a plus in the url. I've allowed the plus char in my config file in 'permitted_uri_chars', but for some reason $this->uri->segment seems to be stripping out the + chars and replacing them with _. Can anyone tell me how to get around this?
If I do:
echo $_SERVER['REQUEST_URI'];
I get:
/search/plumber/jacksonville_fl_+_tx
If I do:
echo $this->uri->segment(3);
I get:
jacksonville_fl___tx