Reputation:
I am using codeigniter php framework. I have a url that looks like this:
www.mydomain.com/controller/function/param
however, when the param value has encoded characters such as 'plus%2b' all that I can see (by checking the parameter) is 'plus'. So basically I am loosing all encoded characters and anything that may occur after them. I tried accessing the uri string directly using $this->uri->segment(n)
but got the same issue.
How can I preserve encoded values so that if the url looks like: www.mydomain.com/controller/function/plus%2b, I get the string 'plus+'?
Upvotes: 0
Views: 89
Reputation: 57845
I think in config.php there is a whitelist of allowed characters (permitted_uri_chars), so you probably would need to add the additional characters here.
Upvotes: 1