Welcome Guest, Not a member yet? Register   Sign In
how to allow special character in the url
#1

[eluser]Angel Lay[/eluser]
When i use special characters, the uri submitted is not allowed error message occurs.
Code:
special characters: á,ó,é and so on

How can i solve it?

Thanks
#2

[eluser]Sanjay Sarvaiya[/eluser]
You have to change allowed URI Characters in config.php file.
add your spacial Characters here.
Code:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
#3

[eluser]Angel Lay[/eluser]
Yes, i have tried this one. The words like
Code:
+/;>
are okay.
But how can i change this kinds of special character
Code:
á,ó,é, and so on
?
there may be a lot of ASCII characters.
#4

[eluser]Pedro Luz[/eluser]
you shouldn't use characters with accents in urls.

try use convert_accented_characters();

take a look at http://ellislab.com/codeigniter/user-gui...elper.html




Theme © iAndrew 2016 - Forum software by © MyBB