adjust spf-entry-regex; check for valid spf-entry in updater; set version to 2.1.0-rc2

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2023-11-11 21:38:24 +01:00
parent 287ad84b18
commit d52f33a50c
4 changed files with 20 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ return [
'settinggroup' => 'spf',
'varname' => 'spf_entry',
'type' => 'text',
'string_regexp' => '/^v=spf[a-z0-9:~?\s\.-]+$/i',
'string_regexp' => '/^v=spf[a-z0-9:~?\s.-]+$/i',
'default' => 'v=spf1 a mx -all',
'save_method' => 'storeSettingField'
]