Florian Schaal
2015-03-31 d9bc89270c2dd5da239338128acd1a559ff6a5f5
FS#3848 - Allow underscore in dns cname record
1 files modified
2 ■■■ changed files
interface/web/dns/form/dns_cname.tform.php 2 ●●● patch | view | raw | blame | history
interface/web/dns/form/dns_cname.tform.php
@@ -86,7 +86,7 @@
                    'type' => 'TOLOWER')
            ),
            'validators' => array (  0 => array ( 'type' => 'REGEX',
                    'regex' => '/^[a-zA-Z0-9\.\-\*]{0,255}$/',
                    'regex' => '/^[a-zA-Z0-9\.\-\*\_]{0,255}$/',
                    'errmsg'=> 'name_error_regex'),
            ),
            'default' => '',