summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-27 19:18:36 +0000
committerErmal <eri@pfsense.org>2012-07-27 19:18:36 +0000
commit6e895d5f7f0c0a0f0d7089dd060dfe3682459e7e (patch)
tree115855e43ae2093c0ba8b3371fc5eb73956860d3 /usr/local/captiveportal
parent8b1a702394f640131f1e4e1967e7a03a6c91015d (diff)
downloadpfsense-6e895d5f7f0c0a0f0d7089dd060dfe3682459e7e.zip
pfsense-6e895d5f7f0c0a0f0d7089dd060dfe3682459e7e.tar.gz
Put fix for IE 8/9 url handling bug
Diffstat (limited to 'usr/local/captiveportal')
-rwxr-xr-xusr/local/captiveportal/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php
index 1a0affc..8ba392d 100755
--- a/usr/local/captiveportal/index.php
+++ b/usr/local/captiveportal/index.php
@@ -48,7 +48,8 @@ $cpzone = $_REQUEST['zone'];
$cpcfg = $config['captiveportal'][$cpzone];
$orig_host = $_ENV['HTTP_HOST'];
-$orig_request = $_REQUEST['redirurl'];
+/* NOTE: IE 8/9 is buggy and that is why this is needed */
+$orig_request = trim($_REQUEST['redirurl'], " /");
$clientip = $_SERVER['REMOTE_ADDR'];
if (!$clientip) {
OpenPOWER on IntegriCloud