From ffbc5ec961c292c919a741816764db2bd18c0696 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sat, 10 Oct 2020 10:57:06 +0200 Subject: [PATCH] [Web] Do not expand IPv6 as found by SPF lookup --- data/web/inc/spf.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/inc/spf.inc.php b/data/web/inc/spf.inc.php index bccbbeae..199f572a 100644 --- a/data/web/inc/spf.inc.php +++ b/data/web/inc/spf.inc.php @@ -81,7 +81,7 @@ function get_spf_allowed_hosts($check_domain) } foreach ($hosts as &$host) { if (filter_var($host, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) { - $host = expand_ipv6($host); + $host = $host; } } return $hosts;