Skip to content

Commit

Permalink
Another use of CI_URI::_remove_relative_directory()
Browse files Browse the repository at this point in the history
  • Loading branch information
narfbg committed Dec 6, 2012
1 parent 3fd3345 commit b2280ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/core/URI.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

// --------------------------------------------------------------------
Expand Down

0 comments on commit b2280ce

Please sign in to comment.