summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal/index.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-01-02 15:38:49 +0000
committerErmal <eri@pfsense.org>2013-01-02 15:38:49 +0000
commitaa32c88d3a55b1cc45b89998e650df4a2943e362 (patch)
tree516de92c30518a38d5674b3abb33022f94a883e9 /usr/local/captiveportal/index.php
parent5486c48c370d60126666ad49ecb94400f91ea2e5 (diff)
downloadpfsense-aa32c88d3a55b1cc45b89998e650df4a2943e362.zip
pfsense-aa32c88d3a55b1cc45b89998e650df4a2943e362.tar.gz
USe rtrim here as that it the meaning. This should unbreak the issues on 2.0.2 with CP
Diffstat (limited to 'usr/local/captiveportal/index.php')
-rwxr-xr-xusr/local/captiveportal/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php
index 878386c..77e4d44 100755
--- a/usr/local/captiveportal/index.php
+++ b/usr/local/captiveportal/index.php
@@ -46,7 +46,7 @@ header("Connection: close");
$orig_host = $_ENV['HTTP_HOST'];
/* NOTE: IE 8/9 is buggy and that is why this is needed */
-$orig_request = trim($_REQUEST['redirurl'], " /");
+$orig_request = rtrim($_REQUEST['redirurl'], " /");
$clientip = $_SERVER['REMOTE_ADDR'];
if (!$clientip) {
OpenPOWER on IntegriCloud