CodeIgniter Forums
Permitted url characters - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Permitted url characters (/showthread.php?tid=42428)



Permitted url characters - El Forum - 06-07-2011

[eluser]Volkscom[/eluser]
We need to avoid only these characters <,>,&,(,),%,",' bcause we are using unicode fonts in our web site. How can we do this.


Permitted url characters - El Forum - 06-07-2011

[eluser]InsiteFX[/eluser]
application/config/config.php
Code:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';

InsiteFX


Permitted url characters - El Forum - 06-07-2011

[eluser]Volkscom[/eluser]
We know this. We need to avoid only these characters <,>,&,(,),%,”,’ because we want use unicode characeters


Permitted url characters - El Forum - 06-21-2011

[eluser]predat0r[/eluser]
[quote author="Volkscom" date="1307525447"]We know this. We need to avoid only these characters <,>,&,(,),%,”,’ because we want use unicode characeters[/quote]

So change the characters to yours and escape them if needed.