Skip to content
Snippets Groups Projects
Commit 7d386c3d authored by tbrehm's avatar tbrehm
Browse files

fixed dns rp record regex.

parent b38ec6dd
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ $form["tabs"]['dns'] = array (
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'data_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[0-9\.]{10,15}$/',
'regex' => '/^[\w\.\-\s]{10,15}$/',
'errmsg'=> 'data_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