- Fixed FS#2397 - dns cname cannot be longer than 64 characters.
| | |
| | | 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', |
| | | 'errmsg'=> 'data_error_empty'), |
| | | 1 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[\w\.\-]{1,64}$/', |
| | | 'regex' => '/^[\w\.\-]{1,255}$/', |
| | | 'errmsg'=> 'data_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | |
| | | 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', |
| | | 'errmsg'=> 'data_error_empty'), |
| | | 1 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[\w\.\-]{1,64}$/', |
| | | 'regex' => '/^[\w\.\-]{1,255}$/', |
| | | 'errmsg'=> 'data_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | |
| | | 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', |
| | | 'errmsg'=> 'data_error_empty'), |
| | | 1 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[\w\.\-]{1,64}$/', |
| | | 'regex' => '/^[\w\.\-]{1,255}$/', |
| | | 'errmsg'=> 'data_error_regex'), |
| | | ), |
| | | 'default' => '', |