Update dashboard_edit.php

This commit is contained in:
FusionPBX 2024-09-03 20:59:30 -06:00 committed by GitHub
parent 8c15185774
commit 757c085ec1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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";
?>
?>