From 8ad04524061ffaaff44fd62a6df7562752419fcc Mon Sep 17 00:00:00 2001 From: hedali <1455885920@qq.com> Date: Sat, 8 Feb 2025 16:24:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=88=9D=E5=A7=8B=E5=8C=96=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E5=90=8E=E5=90=8E=E5=8F=B0=E7=82=B9=E5=87=BB=E5=8D=8F?= =?UTF-8?q?=E8=AE=AE=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/app/common.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/app/common.php b/server/app/common.php index c169644f0..28d64b7d8 100644 --- a/server/app/common.php +++ b/server/app/common.php @@ -209,6 +209,9 @@ function clear_file_domain($content) */ function get_file_domain($content) { + if (empty($content)) { + return $content; + } $fileUrl = FileService::getFileUrl(); $imgPreg = '/()/is'; $videoPreg = '/(