Merge pull request #4481 from IgorA100/patch-173721

Fix: Allow using any character from the "letter" category in the name of the downloaded event archive on Events page
This commit is contained in:
Isaac Connor
2025-12-11 09:00:54 -05:00
committed by GitHub

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('/[^\w\-\.\(\):]+/', '', $exportFileName);
$exportFileName = preg_replace('/[^\p{L}\p{N}\-\.\(\)]/u', '', $exportFileName);
$exportIds = [];
if (!empty($_REQUEST['eids'])) {