From 7cd729e4716c1f0bfb617879c9a93b29e34906fe Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Thu, 31 Jul 2025 09:03:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=8E=B7=E5=8F=96=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E7=A3=81=E7=9B=98=E6=9C=AA=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E2=80=9C//=E2=80=9D=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common.php b/app/common.php index 8ba851ef..5e356e96 100644 --- a/app/common.php +++ b/app/common.php @@ -155,7 +155,7 @@ if (!function_exists('get_filesystem_url')) { */ function get_filesystem_url(string $url, string $disk): string { - if (\think\helper\Str::startsWith($url, ['http://', 'https://'])) { + if (\think\helper\Str::startsWith($url, ['http://', 'https://', '//'])) { return $url; } if (empty($disk)) {