uri_string() leading slash - 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: uri_string() leading slash (/showthread.php?tid=48377) |
uri_string() leading slash - El Forum - 01-13-2012 [eluser]sqwk[/eluser] Is $this->uri->uri_string() supposed to have a leading slash? According to the user guide it should, but in my case it suddenly doesn't anymore. EDIT: Looks like this might be the problem: https://github.com/EllisLab/CodeIgniter/issues/779 Still don't know how to fix it though. uri_string() leading slash - El Forum - 08-09-2014 [eluser]Unknown[/eluser] I thought this issue was back in CI version 2.2.0 but I noticed that it is not uri_string() but in ruri_string(). And the code explicitly adds the leading slash in ruri_string(). So in that sense the documentation is not completely correct saying that ruri_string() is equal to uri_string(). |