Skip to content

regex for dkim selector matches invalid entries

The regex for dkim_selector validation in mail_domain.tform.php matches invalid entries, which result in .err dns zones.

'regex' => '/^[a-z0-9]{0,63}$/'

This matches entries with a number in front and empty entires.