commit | b2280ced6f7214f3df40754152208ac3f3f02bce | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Thu Dec 06 16:19:22 2012 +0200 |
committer | Andrey Andreev <narf@bofh.bg> | Thu Dec 06 16:19:22 2012 +0200 |
tree | 2562c250a76a88691b02ef8baf704421986c1478 | |
parent | 3fd3345de27c7ccd7ed1efea1805d61a66171a53 [diff] [blame] |
Another use of CI_URI::_remove_relative_directory()
diff --git a/system/core/URI.php b/system/core/URI.php index 07add5a..900472b 100644 --- a/system/core/URI.php +++ b/system/core/URI.php
@@ -274,7 +274,7 @@ parse_str($_SERVER['QUERY_STRING'], $_GET); - return str_replace(array('//', '../'), '/', trim($uri, '/')); + return $this->_remove_relative_directory($uri); } // --------------------------------------------------------------------