From b2280ced6f7214f3df40754152208ac3f3f02bce Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Thu, 6 Dec 2012 16:19:22 +0200 Subject: Another use of CI_URI::_remove_relative_directory() --- system/core/URI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/core/URI.php b/system/core/URI.php index 07add5a4d..900472b61 100644 --- a/system/core/URI.php +++ b/system/core/URI.php @@ -274,7 +274,7 @@ class CI_URI { parse_str($_SERVER['QUERY_STRING'], $_GET); - return str_replace(array('//', '../'), '/', trim($uri, '/')); + return $this->_remove_relative_directory($uri); } // -------------------------------------------------------------------- -- cgit v1.2.3-24-g4f1b