Fix XSS in monsters.php, thanks to @gesior

This commit is contained in:
slawkens 2024-05-15 22:18:39 +02:00
parent b2a1675de3
commit 6f209440e0

View File

@ -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