mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2025-12-23 22:37:53 -05:00
Removed the ":" character from allowed characters (event.php)
This commit is contained in:
@@ -113,7 +113,7 @@ if ( canView('Events') or canView('Snapshots') ) {
|
|||||||
$exportFileName = isset($_REQUEST['exportFileName']) ? $_REQUEST['exportFileName'] : '';
|
$exportFileName = isset($_REQUEST['exportFileName']) ? $_REQUEST['exportFileName'] : '';
|
||||||
|
|
||||||
if (!$exportFileName) $exportFileName = 'Export'.(isset($_REQUEST['connkey'])?$_REQUEST['connkey']:'');
|
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 = [];
|
$exportIds = [];
|
||||||
if (!empty($_REQUEST['eids'])) {
|
if (!empty($_REQUEST['eids'])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user