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

FS#3848 - Allow underscore in dns cname record

parent b73ab0c2
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,7 @@ $form["tabs"]['dns'] = array ( ...@@ -86,7 +86,7 @@ $form["tabs"]['dns'] = array (
'type' => 'TOLOWER') 'type' => 'TOLOWER')
), ),
'validators' => array ( 0 => array ( 'type' => 'REGEX', 'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\*]{0,255}$/', 'regex' => '/^[a-zA-Z0-9\.\-\*\_]{0,255}$/',
'errmsg'=> 'name_error_regex'), 'errmsg'=> 'name_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