Skip to content

A live bird collage card for your Home Assistant dashboard.

Update config.php

lloydbayleyc263202a62e3
diff --git a/scripts/config.php b/scripts/config.php
index 476cc601..17174b61 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'];