Skip to content

Commit a079683

Browse files
author
Marius Burkard
committed
Add slash to allowed characters for mail filter target
1 parent dc3482a commit a079683

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

interface/web/mail/form/mail_user_filter.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
'datatype' => 'VARCHAR',
122122
'formtype' => 'TEXT',
123123
'validators' => array ( 0 => array ( 'type' => 'REGEX',
124-
'regex' => '/^[\p{Latin}0-9\.\-\_\ \&]{0,100}$/u',
124+
'regex' => '/^[\p{Latin}0-9\.\-\_\ \&\/]{0,100}$/u',
125125
'errmsg'=> 'target_error_regex'),
126126
),
127127
'default' => '',

interface/web/mailuser/form/mail_user_filter.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
'datatype' => 'VARCHAR',
123123
'formtype' => 'TEXT',
124124
'validators' => array ( 0 => array ( 'type' => 'REGEX',
125-
'regex' => '/^[\p{Latin}0-9\.\-\_\ \&]{0,100}$/u',
125+
'regex' => '/^[\p{Latin}0-9\.\-\_\ \&\/]{0,100}$/u',
126126
'errmsg'=> 'target_error_regex'),
127127
),
128128
'default' => '',

0 commit comments

Comments
 (0)