From 14e56d51c3e762650582c0bf28bc1a0d5ab5eed5 Mon Sep 17 00:00:00 2001 From: popcorner <351633+popcorner@user.noreply.gitee.com> Date: Fri, 25 Dec 2020 23:18:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E9=99=84=E4=BB=B6?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E9=95=BF=E5=BA=A6=E8=BF=87=E9=95=BF=E6=97=B6?= =?UTF-8?q?=E4=BA=A7=E7=94=9F=E7=9A=84=E6=88=AA=E6=96=AD=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/source/class/discuz/discuz_upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload/source/class/discuz/discuz_upload.php b/upload/source/class/discuz/discuz_upload.php index b6bcdb3f0..5e26ee0dc 100644 --- a/upload/source/class/discuz/discuz_upload.php +++ b/upload/source/class/discuz/discuz_upload.php @@ -41,7 +41,7 @@ Class discuz_upload{ $attach['ext'] = $this->fileext($attach['name']); $attach['name'] = dhtmlspecialchars($attach['name'], ENT_QUOTES); - if(strlen($attach['name']) > 90) { + if(dstrlen($attach['name']) > 90) { $attach['name'] = cutstr($attach['name'], 80, '').'.'.$attach['ext']; } -- Gitee