From 43c61e8bd426552b7fff88aa2108f9faee1099ec Mon Sep 17 00:00:00 2001 From: Akkarinage Date: Mon, 16 Sep 2024 12:43:27 +0100 Subject: [PATCH] Merge commit from fork * sanitize ->title and ->title * Resolves unsanitised player input --------- Co-authored-by: Singe-Horizontal --- themes/default/buyingstore/index.php | 4 ++-- themes/default/buyingstore/viewshop.php | 2 +- themes/default/vending/index.php | 4 ++-- themes/default/vending/viewshop.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/themes/default/buyingstore/index.php b/themes/default/buyingstore/index.php index e329464de..4fa503c79 100644 --- a/themes/default/buyingstore/index.php +++ b/themes/default/buyingstore/index.php @@ -36,9 +36,9 @@ actionAllowed('buyingstore', 'viewshop')): ?> - $store->id)); ?>">title; ?> + $store->id)); ?>">title); ?> - title ?> + title) ?> diff --git a/themes/default/buyingstore/viewshop.php b/themes/default/buyingstore/viewshop.php index 8cd61dfcf..f15d0ab87 100644 --- a/themes/default/buyingstore/viewshop.php +++ b/themes/default/buyingstore/viewshop.php @@ -1,7 +1,7 @@

-

title ?>

+

title) ?>

map; ?>, x; ?>, y; ?>

diff --git a/themes/default/vending/index.php b/themes/default/vending/index.php index e09e94473..a76b1e534 100644 --- a/themes/default/vending/index.php +++ b/themes/default/vending/index.php @@ -30,9 +30,9 @@ actionAllowed('vending', 'viewshop')): ?> - $vending->id)); ?>">title; ?> + $vending->id)); ?>">title); ?> - title ?> + title) ?> diff --git a/themes/default/vending/viewshop.php b/themes/default/vending/viewshop.php index 7c317c718..d68906a48 100644 --- a/themes/default/vending/viewshop.php +++ b/themes/default/vending/viewshop.php @@ -1,7 +1,7 @@

-

title ?>

+

title) ?>

map; ?>, x; ?>, y; ?>