mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
Fix some potential security hazards
This commit is contained in:
+1
-1
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user