Skip to content

Commit d9bc892

Browse files
author
Florian Schaal
committed
FS#3848 - Allow underscore in dns cname record
1 parent b73ab0c commit d9bc892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
'type' => 'TOLOWER')
8787
),
8888
'validators' => array ( 0 => array ( 'type' => 'REGEX',
89-
'regex' => '/^[a-zA-Z0-9\.\-\*]{0,255}$/',
89+
'regex' => '/^[a-zA-Z0-9\.\-\*\_]{0,255}$/',
9090
'errmsg'=> 'name_error_regex'),
9191
),
9292
'default' => '',

0 commit comments

Comments
 (0)