From 78dffc5b4e10055e202d7b83bb564668975c9037 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Fri, 18 Nov 2016 12:30:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=B7=AF=E7=94=B1=E7=9A=84?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E7=BC=93=E5=AD=98=E8=AE=BE=E7=BD=AE?= 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 96e47895..2cc4a333 100644 --- a/library/think/Route.php +++ b/library/think/Route.php @@ -1496,7 +1496,7 @@ class Route if (is_array($cache)) { list($key, $expire) = $cache; } else { - $key = $pathinfo; + $key = str_replace('|', '/', $pathinfo); $expire = $cache; } $request->cache($key, $expire);