diff --git a/library/think/Route.php b/library/think/Route.php index e5711c33..47f9449d 100644 --- a/library/think/Route.php +++ b/library/think/Route.php @@ -1212,7 +1212,7 @@ class Route $var += explode('/', $url); } else { preg_replace_callback('/(\w+)\/([^\/]+)/', function ($match) use (&$var) { - $var[strtolower($match[1])] = strip_tags($match[2]); + $var[$match[1]] = strip_tags($match[2]); }, $url); } }