Permalink
Browse files

Another use of CI_URI::_remove_relative_directory()

  • Loading branch information...
1 parent 3fd3345 commit b2280ced6f7214f3df40754152208ac3f3f02bce @narfbg narfbg committed Dec 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/core/URI.php
View
@@ -274,7 +274,7 @@ protected function _parse_query_string()
parse_str($_SERVER['QUERY_STRING'], $_GET);
- return str_replace(array('//', '../'), '/', trim($uri, '/'));
+ return $this->_remove_relative_directory($uri);
}
// --------------------------------------------------------------------

0 comments on commit b2280ce

Please sign in to comment.