From 7b5be2f273a5314a2720e8a1faa171886976abe2 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Mon, 25 Sep 2017 12:22:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9Burl=5Fcommon=5Fparam=E7=9A=84?= =?UTF-8?q?=E6=83=85=E5=86=B5=E4=B8=8Burlencode=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Url.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Url.php b/library/think/Url.php index 3001daba..37ceef1e 100644 --- a/library/think/Url.php +++ b/library/think/Url.php @@ -135,7 +135,7 @@ class Url if (!empty($vars)) { // 添加参数 if (Config::get('url_common_param')) { - $vars = urldecode(http_build_query($vars)); + $vars = http_build_query($vars); $url .= $suffix . '?' . $vars . $anchor; } else { $paramType = Config::get('url_param_type');