From 44ca4abc8972d6dab8bb057c3dca36bc44532ffd Mon Sep 17 00:00:00 2001 From: IgorA100 Date: Sat, 2 May 2026 20:17:35 +0300 Subject: [PATCH] Allow national Unicode characters in monitor name (Monitor.php) --- web/includes/Monitor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/includes/Monitor.php b/web/includes/Monitor.php index 3f3059f29..90a6836b5 100644 --- a/web/includes/Monitor.php +++ b/web/includes/Monitor.php @@ -211,7 +211,7 @@ class Monitor extends ZM_Object { protected $defaults = array( 'Id' => null, - 'Name' => array('type'=>'text','filter_regexp'=>'/[^\w\-\.\(\)\:\/ ]/', 'default'=>'Monitor'), + Name' => array('type'=>'text','filter_regexp'=>'/[^\w\p{L}\-\.\(\)\:\/]+/iu', 'default'=>'Monitor'), 'Deleted' => 0, 'Notes' => '', 'ServerId' => 0,