diff --git a/scripts/config.php b/scripts/config.php index 476cc60..14d4430 100644 --- a/scripts/config.php +++ b/scripts/config.php @@ -23,7 +23,8 @@ 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 = str_replace('"', "", $site_name); + $site_name = str_replace('\'', "", $site_name); $birdweather_id = $_GET["birdweather_id"]; $apprise_input = $_GET['apprise_input']; $apprise_notification_title = $_GET['apprise_notification_title'];