Merge pull request #237 from rhansen/stringify-ports
Stringify default port numbers
This commit is contained in:
commit
91803cbb41
1 changed files with 2 additions and 2 deletions
|
@ -2009,10 +2009,10 @@ sub geturl {
|
|||
## always omit SSL for connections to local router
|
||||
if ($force_ssl || ($globals{'ssl'} and (caller(1))[3] ne 'main::get_ip')) {
|
||||
$use_ssl = 1;
|
||||
$default_port = 443;
|
||||
$default_port = '443';
|
||||
} else {
|
||||
$use_ssl = 0;
|
||||
$default_port = 80;
|
||||
$default_port = '80';
|
||||
}
|
||||
debug("proxy = %s", $proxy);
|
||||
debug("protocol = %s", $use_ssl ? "https" : "http");
|
||||
|
|
Loading…
Reference in a new issue