CodeIgniter Forums
uri_string() leading slash - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: uri_string() leading slash (/showthread.php?tid=48377)

uri_string() leading slash - El Forum - 01-13-2012

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: Still don't know how to fix it though.

uri_string() leading slash - El Forum - 08-09-2014

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().