Skip to content
Snippets Groups Projects
Commit a0796838 authored by Marius Burkard's avatar Marius Burkard
Browse files

Add slash to allowed characters for mail filter target

parent dc3482a3
No related branches found
No related tags found
1 merge request!1293Resolve "Emailfilters target should allow more characters - at least a slash"
Pipeline #6052 passed
...@@ -121,7 +121,7 @@ $form["tabs"]['filter'] = array ( ...@@ -121,7 +121,7 @@ $form["tabs"]['filter'] = array (
'datatype' => 'VARCHAR', 'datatype' => 'VARCHAR',
'formtype' => 'TEXT', 'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'REGEX', 'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[\p{Latin}0-9\.\-\_\ \&]{0,100}$/u', 'regex' => '/^[\p{Latin}0-9\.\-\_\ \&\/]{0,100}$/u',
'errmsg'=> 'target_error_regex'), 'errmsg'=> 'target_error_regex'),
), ),
'default' => '', 'default' => '',
......
...@@ -122,7 +122,7 @@ $form["tabs"]['filter'] = array ( ...@@ -122,7 +122,7 @@ $form["tabs"]['filter'] = array (
'datatype' => 'VARCHAR', 'datatype' => 'VARCHAR',
'formtype' => 'TEXT', 'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'REGEX', 'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[\p{Latin}0-9\.\-\_\ \&]{0,100}$/u', 'regex' => '/^[\p{Latin}0-9\.\-\_\ \&\/]{0,100}$/u',
'errmsg'=> 'target_error_regex'), 'errmsg'=> 'target_error_regex'),
), ),
'default' => '', 'default' => '',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment