Florian Schaal
2016-04-30 8beb039f0b7d23b03f7963c3a56c8dde65af3b6b
allow underscore in ALIAS name (Fixes: #3866)
1 files modified
2 ■■■ changed files
interface/web/dns/form/dns_alias.tform.php 2 ●●● patch | view | raw | blame | history
interface/web/dns/form/dns_alias.tform.php
@@ -88,7 +88,7 @@
            'validators' => array (  0 => array ( 'type' => 'NOTEMPTY',
                    'errmsg'=> 'name_error_empty'),
                1 => array ( 'type' => 'REGEX',
                    'regex' => '/^[a-zA-Z0-9\.\-]{1,255}$/',
                    'regex' => '/^[a-zA-Z0-9\.\-\_]{1,255}$/',
                    'errmsg'=> 'name_error_regex'),
            ),
            'default' => '',