Skip to content

Commit 23a3c39

Browse files
author
Florian Schaal
committed
allow dns txt-records starting with *.
1 parent 8d71ba6 commit 23a3c39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/dns/form/dns_txt.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)