Browse Source

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

andryyy 4 years ago
parent
commit
ffbc5ec961
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data/web/inc/spf.inc.php

+ 1 - 1
data/web/inc/spf.inc.php

@@ -81,7 +81,7 @@ function get_spf_allowed_hosts($check_domain)
 	}
 	}
 	foreach ($hosts as &$host) {
 	foreach ($hosts as &$host) {
 		if (filter_var($host, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) {
 		if (filter_var($host, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) {
-			$host = expand_ipv6($host);
+			$host = $host;
 		}
 		}
 	}
 	}
 	return $hosts;
 	return $hosts;