Welcome Guest, Not a member yet? Register   Sign In
Spaces in url
#1

[eluser]zebric[/eluser]
Hi!
In the configuration file as follows:
Code:
$config['permitted_uri_chars'] = 'a-z\s0-9~%.:_\-';

Using this routing:
Code:
$route['catalog/tm-([A-Za-z0-9_-]+)/model-([A-Za-z0-9_-\s]+)'] = 'catalog/model/$2/$1';
If use url with whitespace, for example:
Quote:catalog/tm-Brand/model-Cool apple

the routing rule is not working.


Who knows how to solve this problem?
Many thanks!




Theme © iAndrew 2016 - Forum software by © MyBB