Skip to content

Commit 8beb039

Browse files
author
Florian Schaal
committed
allow underscore in ALIAS name (Fixes: #3866)
1 parent fe0bcd1 commit 8beb039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/dns/form/dns_alias.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
8989
'errmsg'=> 'name_error_empty'),
9090
1 => array ( 'type' => 'REGEX',
91-
'regex' => '/^[a-zA-Z0-9\.\-]{1,255}$/',
91+
'regex' => '/^[a-zA-Z0-9\.\-\_]{1,255}$/',
9292
'errmsg'=> 'name_error_regex'),
9393
),
9494
'default' => '',

0 commit comments

Comments
 (0)