From 6e781f46931c48b2e7ea3cd84feeb11785c6061f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=83=A1?= <3203164629@qq.com> Date: Mon, 14 Oct 2024 02:36:26 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B7=AF=E5=BE=84=E9=81=8D?= =?UTF-8?q?=E5=8E=86=E6=BC=8F=E6=B4=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 小胡 <3203164629@qq.com> --- user/space/about.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/space/about.php b/user/space/about.php index 4cea380..cdf0e71 100644 --- a/user/space/about.php +++ b/user/space/about.php @@ -11,7 +11,7 @@ if(!defined('IN_DZZ')) { } $verify = C::t('user_verify')->fetch($_G['uid']); $about=array(); -$identify=$_GET['modname']; +$identify = filter_var($_GET['modname'], FILTER_SANITIZE_STRING); $appConfig=DZZ_ROOT.'./dzz/'.$identify.'/config/config.php'; if($identify && file_exists($appConfig)){ $config=include($appConfig);