Fixed regex in prefix validation under System > interface config that prevented numbers in prefixes.
| | |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/', |
| | | 'regex' => '/^[a-zA-Z0-9\-\_\[\]]{0,50}$/', |
| | | 'errmsg'=> 'dbname_prefix_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/', |
| | | 'regex' => '/^[a-zA-Z0-9\-\_\[\]]{0,50}$/', |
| | | 'errmsg'=> 'dbuser_prefix_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/', |
| | | 'regex' => '/^[a-zA-Z0-9\-\_\[\]]{0,50}$/', |
| | | 'errmsg'=> 'ftpuser_prefix_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/', |
| | | 'regex' => '/^[a-zA-Z0-9\-\_\[\]]{0,50}$/', |
| | | 'errmsg'=> 'shelluser_prefix_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/', |
| | | 'regex' => '/^[a-zA-Z0-9\-\_\[\]]{0,50}$/', |
| | | 'errmsg'=> 'webdavuser_prefix_error_regex'), |
| | | ), |
| | | 'default' => '', |