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

allow underscore in ALIAS name (Fixes: #3866)

parent fe0bcd10
No related branches found
No related tags found
1 merge request!333Master
......@@ -88,7 +88,7 @@ $form["tabs"]['dns'] = array (
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'name_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-]{1,255}$/',
'regex' => '/^[a-zA-Z0-9\.\-\_]{1,255}$/',
'errmsg'=> 'name_error_regex'),
),
'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