Fix some potential security hazards

This commit is contained in:
xiaomlove
2023-05-20 00:17:17 +08:00
parent 167af06cfa
commit fa95279e66
11 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ if ($action == 'delete')
{
$targetid = $_GET['targetid'];
$sure = $_GET['sure'];
$type = $_GET['type'];
$type = htmlspecialchars($_GET['type']);
if ($type == 'friend')
$typename = $lang_friends['text_friend'];