Skip to content

Commit

Permalink
allow cidr (forward slash) in spf settings-regex; fixes #1295
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kaufmann <[email protected]>
  • Loading branch information
d00p committed Dec 3, 2024
1 parent 5bb450b commit 60f51fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/admin/settings/180.antispam.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
'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'
],
Expand Down

0 comments on commit 60f51fd

Please sign in to comment.