![]() |
Allowing '!'s in URLs - 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: Allowing '!'s in URLs (/showthread.php?tid=4909) |
Allowing '!'s in URLs - El Forum - 12-22-2007 [eluser]IanMcQ[/eluser] Hi guys, I have an ajax module that takes in the 3rd segment of a URL. Sometimes this 3rd segment may contain a "!" but unfortunately CI pukes out and says that "The URI you submitted has disallowed characters" error. I was wondering what I could add to the $config['permitted_uri_chars'] field in my config to ALLOW "!" in URLs. Please let me know if this is possible and how to do this. Thanks in advanced! I really love CI! Allowing '!'s in URLs - El Forum - 12-22-2007 [eluser]Leggy[/eluser] You were so close, you just need to add !: Code: <?php Allowing '!'s in URLs - El Forum - 12-22-2007 [eluser]IanMcQ[/eluser] Thanks! It works now. ![]() |