mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use SERVER_NAME instead of HTTP_HOST env var, it doesn't have port, then it avoids wizard end point to wrong IPv6 address. It should fix #3550
This commit is contained in:
parent
1b37ae46e7
commit
bc53fec62d
@ -927,8 +927,7 @@ function fixup_string($string) {
|
||||
$urlport = "";
|
||||
}
|
||||
}
|
||||
$http_host = explode(":", $_SERVER['HTTP_HOST']);
|
||||
$http_host = $http_host[0];
|
||||
$http_host = $_SERVER['SERVER_NAME'];
|
||||
$urlhost = $http_host;
|
||||
// If finishing the setup wizard, check if accessing on a LAN or WAN address that changed
|
||||
if($title == "Reload in progress") {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user