Till Brehm
2014-05-06 7dd9234b8b255b82572304a526a7d07387b6e243
Fixed regex in prefix validation under System > interface config that prevented numbers in prefixes.
1 files modified
10 ■■■■ changed files
interface/web/admin/form/system_config.tform.php 10 ●●●● patch | view | raw | blame | history
interface/web/admin/form/system_config.tform.php
@@ -62,7 +62,7 @@
            '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' => '',
@@ -74,7 +74,7 @@
            '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' => '',
@@ -86,7 +86,7 @@
            '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' => '',
@@ -98,7 +98,7 @@
            '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' => '',
@@ -110,7 +110,7 @@
            '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' => '',