From f80e82f491595bc8d82414865f0dbc0d529ec83b Mon Sep 17 00:00:00 2001 From: thinkphp Date: Sat, 25 Jun 2016 18:11:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9BURL=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=20=E4=BF=9D=E7=95=99=E5=8F=98=E9=87=8F?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E5=A4=A7=E5=B0=8F=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Route.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }