Skip to content

Commit 0f7d3e2

Browse files
committed
Fixed regex for email filed to allow _ in email addresses.
1 parent 07d3a18 commit 0f7d3e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/dns/form/dns_soa.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
109109
'errmsg'=> 'mbox_error_empty'),
110110
1 => array ( 'type' => 'REGEX',
111-
'regex' => '/^[[a-zA-Z0-9\.\-]{0,64}\.$/',
111+
'regex' => '/^[[a-zA-Z0-9\.\-\_]{0,64}\.$/',
112112
'errmsg'=> 'mbox_error_regex'),
113113
),
114114
'default' => '',

0 commit comments

Comments
 (0)