[Web] Do not expand IPv6 as found by SPF lookup
This commit is contained in:
parent
ef69de3a55
commit
ffbc5ec961
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user