From 33e2cb9e96cd5c52dd6d0337f4814f28fb6b2580 Mon Sep 17 00:00:00 2001 From: frederik Date: Sun, 9 Feb 2025 16:53:00 +0100 Subject: [PATCH] fix: php: preserve quotes --- scripts/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/config.php b/scripts/config.php index 78a8823..0624643 100644 --- a/scripts/config.php +++ b/scripts/config.php @@ -72,8 +72,8 @@ if(isset($_GET["latitude"])){ } else { $data_model_version = 1; } - $only_notify_species_names = $_GET['only_notify_species_names']; - $only_notify_species_names_2 = $_GET['only_notify_species_names_2']; + $only_notify_species_names = htmlspecialchars_decode($_GET['only_notify_species_names'], ENT_QUOTES); + $only_notify_species_names_2 = htmlspecialchars_decode($_GET['only_notify_species_names_2'], ENT_QUOTES); if(isset($_GET['apprise_notify_each_detection'])) { $apprise_notify_each_detection = 1;