From 702e0f11e6a3bb9d11030522758ff515ee176af5 Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Thu, 21 Sep 2023 17:22:46 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A8=8B=E5=BA=8F=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E3=80=91=E6=9B=B4=E6=96=B05.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crmeb/app/Request.php b/crmeb/app/Request.php index e139768af..94e42bab1 100644 --- a/crmeb/app/Request.php +++ b/crmeb/app/Request.php @@ -119,7 +119,7 @@ class Request extends \think\Request if (parse_url($str, PHP_URL_HOST)) { $url = parse_url($str); $host = $url['scheme'] . '://' . $url['host']; - $str = $host . preg_replace($farr, '', preg_replace($host, '', $str)); + $str = $host . preg_replace($farr, '', str_replace($host, '', $str)); } else { $str = preg_replace($farr, '', $str); }