From a53794c9cce9d71d6243072c87916e35c416cc0c Mon Sep 17 00:00:00 2001 From: Darren Embry Date: Thu, 29 Mar 2012 11:18:22 -0400 Subject: possible fix for Bug #2311: Wrong redirection URL (from http -> https) missing colon char --- usr/local/captiveportal/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.1