[Web] Do not expand IPv6 as found by SPF lookup

master
andryyy 2020-10-10 10:57:06 +02:00
parent ef69de3a55
commit ffbc5ec961
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 1 additions and 1 deletions

View File

@ -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;