diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-09-24 00:03:43 -0600 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-09-24 00:03:43 -0600 |
commit | b6494b8787677db1bafbbd0cb551da70e8843ad0 (patch) | |
tree | 34f943d8858c6872e37f74ab8ecde6cc9fe7742d /usr/local | |
parent | 6991e1a60d4475d84660376f26f07735f8cbf67f (diff) | |
download | pfsense-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-x | usr/local/captiveportal/index.php | 2 |
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']; |