summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-27 19:17:41 +0000
committerErmal <eri@pfsense.org>2012-07-27 19:18:53 +0000
commit99d7d35d575e88d32001185fdb908d9b611d331f (patch)
treeaad19a8c338a79cc0f0b357b5b46e3c08d922e80 /usr/local/captiveportal
parent843f10cc9a54954db31fb470499566edc94bb4be (diff)
downloadpfsense-99d7d35d575e88d32001185fdb908d9b611d331f.zip
pfsense-99d7d35d575e88d32001185fdb908d9b611d331f.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 201a234..878386c 100755
--- a/usr/local/captiveportal/index.php
+++ b/usr/local/captiveportal/index.php
@@ -45,7 +45,8 @@ header("Pragma: no-cache");
header("Connection: close");
$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