allow cidr (forward slash) in spf settings-regex; fixes #1295
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -129,7 +129,7 @@ return [
|
|||||||
'settinggroup' => 'spf',
|
'settinggroup' => 'spf',
|
||||||
'varname' => 'spf_entry',
|
'varname' => 'spf_entry',
|
||||||
'type' => 'text',
|
'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',
|
'default' => 'v=spf1 a mx -all',
|
||||||
'save_method' => 'storeSettingField'
|
'save_method' => 'storeSettingField'
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user