mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
fix: security patching due to mysql injection vulnerabilities everywhere
This commit is contained in:
@@ -354,6 +354,7 @@ if (!isset($SAJAX_INCLUDED)) {
|
||||
|
||||
//$data = explode("|",$data);
|
||||
if (is_array($data)){$msg = htmlspecialchars($data[1]);}else{$msg = htmlspecialchars($data);};
|
||||
$msg = $database->escape($msg);
|
||||
// $msg=htmlspecialchars($msg);
|
||||
$name = addslashes($session->username);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user