mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
改进url_common_param的情况下urlencode的问题
This commit is contained in:
@@ -135,7 +135,7 @@ class Url
|
|||||||
if (!empty($vars)) {
|
if (!empty($vars)) {
|
||||||
// 添加参数
|
// 添加参数
|
||||||
if (Config::get('url_common_param')) {
|
if (Config::get('url_common_param')) {
|
||||||
$vars = urldecode(http_build_query($vars));
|
$vars = http_build_query($vars);
|
||||||
$url .= $suffix . '?' . $vars . $anchor;
|
$url .= $suffix . '?' . $vars . $anchor;
|
||||||
} else {
|
} else {
|
||||||
$paramType = Config::get('url_param_type');
|
$paramType = Config::get('url_param_type');
|
||||||
|
|||||||
Reference in New Issue
Block a user