Welcome Guest, Not a member yet? Register   Sign In
What are the chars that the url can include?
#9

[eluser]Leo78[/eluser]
[quote author="Aken" date="1345092026"]Because you're using (:any). That means any characters, including /. If you don't want to include another slash, you have to specify only the characters that you're going to use in the segment for your titles. Something like this will use only letters, numbers and the dash (-) char.

Code:
$route['news/([a-zA-Z0-9\-]+)'] = 'news_ci/article/show/$1';
[/quote]

Good, that what I asked at the first post. thank you.

I think it's a kind of bug, (:any) shouldn't include the $config['url_suffix'] char/s because then these cases causes (I thought at first that it doesn't include it, but I was wrong). don't you think?


Messages In This Thread
What are the chars that the url can include? - by El Forum - 08-13-2012, 01:23 PM
What are the chars that the url can include? - by El Forum - 08-13-2012, 05:07 PM
What are the chars that the url can include? - by El Forum - 08-15-2012, 03:28 PM
What are the chars that the url can include? - by El Forum - 08-15-2012, 05:01 PM
What are the chars that the url can include? - by El Forum - 08-15-2012, 05:20 PM
What are the chars that the url can include? - by El Forum - 08-15-2012, 08:17 PM
What are the chars that the url can include? - by El Forum - 08-15-2012, 09:18 PM
What are the chars that the url can include? - by El Forum - 08-15-2012, 09:40 PM
What are the chars that the url can include? - by El Forum - 08-15-2012, 09:58 PM
What are the chars that the url can include? - by El Forum - 08-15-2012, 10:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB