Removed the ":" character from allowed characters (event.php)

This commit is contained in:
IgorA100
2025-12-11 12:39:18 +03:00
committed by GitHub
parent b1f65aaabc
commit 0020d29c89

View File

@@ -113,7 +113,7 @@ if ( canView('Events') or canView('Snapshots') ) {
$exportFileName = isset($_REQUEST['exportFileName']) ? $_REQUEST['exportFileName'] : '';
if (!$exportFileName) $exportFileName = 'Export'.(isset($_REQUEST['connkey'])?$_REQUEST['connkey']:'');
$exportFileName = preg_replace('/[^\p{L}\p{N}\-\.\(\):]/u', '', $exportFileName);
$exportFileName = preg_replace('/[^\p{L}\p{N}\-\.\(\)]/u', '', $exportFileName);
$exportIds = [];
if (!empty($_REQUEST['eids'])) {