Changeset 3256 for trunk/system/libraries/Router.php
- Timestamp:
- 08/04/2008 08:34:16 PM (4 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Router.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Router.php
r3230 r3256 39 39 { 40 40 // Set the query string to the current query string 41 self::$query_string = '?'.trim($_SERVER['QUERY_STRING'], '& ');41 self::$query_string = '?'.trim($_SERVER['QUERY_STRING'], '&/'); 42 42 } 43 43 … … 199 199 // Remove the URI from $_GET 200 200 unset($_GET[self::$current_uri]); 201 202 // Remove the URI from $_SERVER['QUERY_STRING'] 203 $_SERVER['QUERY_STRING'] = ltrim(substr($_SERVER['QUERY_STRING'], strlen(self::$current_uri)), '/&'); 201 204 202 205 // Fixes really strange handling of a suffix in a GET string
