Skip to content

Commit 494da45

Browse files
author
Till Brehm
committed
Allow underscore in TXT records, required for dkim.
1 parent 60828e4 commit 494da45

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)