From 4bf8d8d9705254285e1c2e52222314075f02a6cb Mon Sep 17 00:00:00 2001 From: Xuxfff <1683793776@qq.com> Date: Wed, 12 Oct 2022 14:05:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E4=BA=86xss=E6=BC=8F?= =?UTF-8?q?=E6=B4=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Reset_password.php | 4 ++-- recover_password.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Reset_password.php b/Reset_password.php index 7af1740..02a277e 100644 --- a/Reset_password.php +++ b/Reset_password.php @@ -8,8 +8,8 @@ include 'Header.php'; -$token=$_GET['token']; -$email=$_GET['email']; +$token=htmlspecialchars($_GET['token']); +$email=htmlspecialchars($_GET['email']); ?>