diff options
-rw-r--r-- | application/config/routes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/config/routes.php b/application/config/routes.php index 10d752071..4e4d8c71e 100644 --- a/application/config/routes.php +++ b/application/config/routes.php @@ -50,8 +50,8 @@ defined('BASEPATH') OR exit('No direct script access allowed'); | my-controller/my-method -> my_controller/my_method */ $route['default_controller'] = "main"; -$route['user/(:any)'] = "user/$1"; -$route['file/multipaste/(:any)'] = "file/multipaste/$1"; +$route['user/(.+)'] = "user/$1"; +$route['file/multipaste/(.+)'] = "file/multipaste/$1"; $route['file/(.+)'] = "main/$1"; $route['tools/(.+)'] = "tools/$1"; $route['api/(.+)'] = "api/route/$1"; |