From 757c085ec166f30f1b3b98c756c364bf3293c6bd Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 3 Sep 2024 20:59:30 -0600 Subject: [PATCH] Update dashboard_edit.php --- core/dashboard/dashboard_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/dashboard/dashboard_edit.php b/core/dashboard/dashboard_edit.php index 91a57404e5..bdab2367a5 100644 --- a/core/dashboard/dashboard_edit.php +++ b/core/dashboard/dashboard_edit.php @@ -115,7 +115,7 @@ //define the regex patterns $uuid_pattern = '/[^-A-Fa-f0-9]/'; $number_pattern = '/[^-A-Za-z0-9()*#]/'; - $text_pattern = '/[^a-zA-Z0-9 _\-\/.\?Allow ? and = for the text pattern:\=#\n]/'; + $text_pattern = '/[^a-zA-Z0-9 _\-\/.\?:\=#\n]/'; //sanitize the data $dashboard_name = trim(preg_replace('/[^a-zA-Z0-9 _\-\/.#]/', '', $dashboard_name)); @@ -1184,4 +1184,4 @@ //include the footer require_once "resources/footer.php"; -?> \ No newline at end of file +?>