From 2bb863baac12661e1355e835f08dbca109466a94 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Tue, 3 Dec 2024 16:15:32 +0100 Subject: [PATCH] fix regex for spf entry; refs #1295 Signed-off-by: Michael Kaufmann --- actions/admin/settings/180.antispam.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/admin/settings/180.antispam.php b/actions/admin/settings/180.antispam.php index 6a3c67b2..8c3ad4b5 100644 --- a/actions/admin/settings/180.antispam.php +++ b/actions/admin/settings/180.antispam.php @@ -129,7 +129,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' ],