summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-09-24 00:03:43 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-09-24 00:03:43 -0600
commitb6494b8787677db1bafbbd0cb551da70e8843ad0 (patch)
tree34f943d8858c6872e37f74ab8ecde6cc9fe7742d /usr/local
parent6991e1a60d4475d84660376f26f07735f8cbf67f (diff)
downloadpfsense-b6494b8787677db1bafbbd0cb551da70e8843ad0.zip
pfsense-b6494b8787677db1bafbbd0cb551da70e8843ad0.tar.gz
Restore this code so the redirect after logging into the captive portal will work again. Ticket #918
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/captiveportal/index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php
index 70188f6..c7a3ebe 100755
--- a/usr/local/captiveportal/index.php
+++ b/usr/local/captiveportal/index.php
@@ -79,6 +79,8 @@ if ($orig_host != $ourhostname) {
}
if (preg_match("/redirurl=(.*)/", $orig_request, $matches))
$redirurl = urldecode($matches[1]);
+if ($_POST['redirurl'])
+ $redirurl = $_POST['redirurl'];
if (!empty($config['captiveportal']['redirurl']))
$redirurl = $config['captiveportal']['redirurl'];
OpenPOWER on IntegriCloud