Skip to content
Snippets Groups Projects
Commit 851193fa authored by Falko Timme's avatar Falko Timme
Browse files

- Fixed FS#2397 - dns cname cannot be longer than 64 characters.

parent 70747b96
No related branches found
No related tags found
2 merge requests!46Master,!21Master
...@@ -102,7 +102,7 @@ $form["tabs"]['dns'] = array ( ...@@ -102,7 +102,7 @@ $form["tabs"]['dns'] = array (
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'data_error_empty'), 'errmsg'=> 'data_error_empty'),
1 => array ( 'type' => 'REGEX', 1 => array ( 'type' => 'REGEX',
'regex' => '/^[\w\.\-]{1,64}$/', 'regex' => '/^[\w\.\-]{1,255}$/',
'errmsg'=> 'data_error_regex'), 'errmsg'=> 'data_error_regex'),
), ),
'default' => '', 'default' => '',
......
...@@ -100,7 +100,7 @@ $form["tabs"]['dns'] = array ( ...@@ -100,7 +100,7 @@ $form["tabs"]['dns'] = array (
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'data_error_empty'), 'errmsg'=> 'data_error_empty'),
1 => array ( 'type' => 'REGEX', 1 => array ( 'type' => 'REGEX',
'regex' => '/^[\w\.\-]{1,64}$/', 'regex' => '/^[\w\.\-]{1,255}$/',
'errmsg'=> 'data_error_regex'), 'errmsg'=> 'data_error_regex'),
), ),
'default' => '', 'default' => '',
......
...@@ -100,7 +100,7 @@ $form["tabs"]['dns'] = array ( ...@@ -100,7 +100,7 @@ $form["tabs"]['dns'] = array (
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'data_error_empty'), 'errmsg'=> 'data_error_empty'),
1 => array ( 'type' => 'REGEX', 1 => array ( 'type' => 'REGEX',
'regex' => '/^[\w\.\-]{1,64}$/', 'regex' => '/^[\w\.\-]{1,255}$/',
'errmsg'=> 'data_error_regex'), 'errmsg'=> 'data_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