mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Fix XSS in monsters.php, thanks to @gesior
This commit is contained in:
parent
b2a1675de3
commit
6f209440e0
@ -79,7 +79,7 @@ if (isset($monster['name'])) {
|
||||
));
|
||||
|
||||
} 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user