Skip to content
Snippets Groups Projects
Commit 844eabed authored by Florian Schaal's avatar Florian Schaal
Browse files

allow + for local-part in dns-soa (Fixes: #3836)

parent 0268a2b9
No related branches found
No related tags found
1 merge request!331Master
...@@ -137,7 +137,7 @@ $form["tabs"]['dns_soa'] = array ( ...@@ -137,7 +137,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,255}\.$/', 'regex' => '/^[a-zA-Z0-9\.\-\_\+]{0,255}\.$/',
'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