Skip to content

Commit 969a78d

Browse files
author
Till Brehm
committed
Merge branch '6459-fix-dkim-selector-regex' into 'develop'
Fixed regex for dkim_selector to match only valid entires #6459 Closes #6459 See merge request ispconfig/ispconfig3!1692
2 parents efb5a55 + 280c16b commit 969a78d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/mail/form/mail_domain.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
'width' => '20',
133133
'maxlength' => '63',
134134
'validators' => array ( 0 => array ( 'type' => 'REGEX',
135-
'regex' => '/^[a-z0-9]{0,63}$/',
135+
'regex' => '/^(?=.*[a-z])[a-z0-9]{1,63}$/',
136136
'errmsg'=> 'dkim_selector_error'),
137137
),
138138
),

0 commit comments

Comments
 (0)