mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
Fix XSS in monsters.php, thanks to @gesior
This commit is contained in:
@@ -79,7 +79,7 @@ if (isset($monster['name'])) {
|
|||||||
));
|
));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
echo "Monster with name <b>" . $monster_name . "</b> doesn't exist.";
|
echo "Monster with name <b>" . htmlspecialchars($monster_name) . "</b> doesn't exist.";
|
||||||
}
|
}
|
||||||
|
|
||||||
// back button
|
// back button
|
||||||
|
Reference in New Issue
Block a user