fix(admin): escape stored player values in admin templates [#139] (#272)

This commit is contained in:
Ferywir
2026-06-23 21:00:51 +02:00
committed by GitHub
parent 90c5cdd97c
commit c0bbf2bfbe
12 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ if(isset($id)){
<input type="hidden" name="admid" value="<?php echo $_SESSION['id']; ?>">
<div class="addtroops-card">
<div class="addtroops-head">Edit troops <?php echo $village['name']; ?> (<?php echo $coor['x'].'|'.$coor['y']; ?>)</div>
<div class="addtroops-head">Edit troops <?php echo htmlspecialchars($village['name']); ?> (<?php echo $coor['x'].'|'.$coor['y']; ?>)</div>
<div class="addtroops-grid">
<?php for($i=1;$i<11;$i++){