Skip to content
Snippets Groups Projects
Commit 0f7d3e23 authored by tbrehm's avatar tbrehm
Browse files

Fixed regex for email filed to allow _ in email addresses.

parent 07d3a187
No related branches found
No related tags found
No related merge requests found
...@@ -108,7 +108,7 @@ $form["tabs"]['dns_soa'] = array ( ...@@ -108,7 +108,7 @@ $form["tabs"]['dns_soa'] = array (
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'mbox_error_empty'), 'errmsg'=> 'mbox_error_empty'),
1 => array ( 'type' => 'REGEX', 1 => array ( 'type' => 'REGEX',
'regex' => '/^[[a-zA-Z0-9\.\-]{0,64}\.$/', 'regex' => '/^[[a-zA-Z0-9\.\-\_]{0,64}\.$/',
'errmsg'=> 'mbox_error_regex'), 'errmsg'=> 'mbox_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