diff options
author | Ermal <eri@pfsense.org> | 2012-07-27 19:18:36 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-07-27 19:18:36 +0000 |
commit | 6e895d5f7f0c0a0f0d7089dd060dfe3682459e7e (patch) | |
tree | 115855e43ae2093c0ba8b3371fc5eb73956860d3 | |
parent | 8b1a702394f640131f1e4e1967e7a03a6c91015d (diff) | |
download | pfsense-6e895d5f7f0c0a0f0d7089dd060dfe3682459e7e.zip pfsense-6e895d5f7f0c0a0f0d7089dd060dfe3682459e7e.tar.gz |
Put fix for IE 8/9 url handling bug
-rwxr-xr-x | usr/local/captiveportal/index.php | 3 |
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) { |