Changeset 1850
- Timestamp:
- 01/28/2008 02:56:44 PM (12 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Router.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Router.php
r1795 r1850 271 271 if ($str != '' AND ($allowed = Config::item('routes._allowed')) != '') 272 272 { 273 if ( ! preg_match('|^['.preg_quote($allowed).']+ $|iu', $str))273 if ( ! preg_match('|^['.preg_quote($allowed).']++$|iuD', $str)) 274 274 { 275 275 header('HTTP/1.1 400 Bad Request');
