CodeIgniter Forums
escaping uri segments - 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: escaping uri segments (/showthread.php?tid=14777)



escaping uri segments - El Forum - 01-14-2009

[eluser]manuelpibe[/eluser]
Hi,
I was just wondering if there is an option to automatically escape uri segments.

Thanks in advance,

v


escaping uri segments - El Forum - 01-15-2009

[eluser]Phil Sturgeon[/eluser]
Escape how? They are already heavily limited to alpha numeric characters with dashes, not much left to escape.


escaping uri segments - El Forum - 01-15-2009

[eluser]meigwilym[/eluser]
If you look in application/config/config.php, line ~145, this appears

Code:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_-';

Those are the only characters allowed in the uri segments.

Mei


escaping uri segments - El Forum - 01-15-2009

[eluser]manuelpibe[/eluser]
Thanks mei. Thats really good to know.