From c263202a62e333189bf2878fafc79784b1c537e5 Mon Sep 17 00:00:00 2001 From: lloydbayley Date: Fri, 18 Nov 2022 22:28:05 +1100 Subject: [PATCH] Update config.php --- scripts/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config.php b/scripts/config.php index 476cc60..17174b6 100644 --- a/scripts/config.php +++ b/scripts/config.php @@ -23,7 +23,7 @@ if(isset($_GET["latitude"])){ $latitude = $_GET["latitude"]; $longitude = $_GET["longitude"]; $site_name = $_GET["site_name"]; - $site_name = preg_replace( '/[^A-Za-z0-9 ]/' , "", $site_name); + $site_name = preg_replace('/['|\'|\"|"]*/', '', $site_name); $birdweather_id = $_GET["birdweather_id"]; $apprise_input = $_GET['apprise_input']; $apprise_notification_title = $_GET['apprise_notification_title'];