summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal
diff options
context:
space:
mode:
authorDarren Embry <dse@webonastick.com>2012-03-29 11:18:22 -0400
committerDarren Embry <dse@webonastick.com>2012-03-29 11:18:22 -0400
commita53794c9cce9d71d6243072c87916e35c416cc0c (patch)
tree7952a23077385229c534e0901c19bd371621e8c9 /usr/local/captiveportal
parentadc91ab7da32a4c1780f86913d905ebeb624d4f9 (diff)
downloadpfsense-a53794c9cce9d71d6243072c87916e35c416cc0c.zip
pfsense-a53794c9cce9d71d6243072c87916e35c416cc0c.tar.gz
possible fix for Bug #2311: Wrong redirection URL (from http -> https) missing colon char
Diffstat (limited to 'usr/local/captiveportal')
-rwxr-xr-xusr/local/captiveportal/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php
index eec1602..3b413af 100755
--- a/usr/local/captiveportal/index.php
+++ b/usr/local/captiveportal/index.php
@@ -60,7 +60,7 @@ if (!$clientip) {
}
if (isset($config['captiveportal'][$cpzone]['httpslogin']))
- $ourhostname = $config['captiveportal'][$cpzone]['httpsname'] . ($cpcfg['zoneid'] + 1);
+ $ourhostname = $config['captiveportal'][$cpzone]['httpsname'] . ":" . ($cpcfg['zoneid'] + 1);
else {
$ifip = portal_ip_from_client_ip($clientip);
if (!$ifip)
OpenPOWER on IntegriCloud