Revision aa32c88d
Added by Ermal LUÇI over 12 years ago
usr/local/captiveportal/index.php | ||
---|---|---|
46 | 46 |
|
47 | 47 |
$orig_host = $_ENV['HTTP_HOST']; |
48 | 48 |
/* NOTE: IE 8/9 is buggy and that is why this is needed */ |
49 |
$orig_request = trim($_REQUEST['redirurl'], " /"); |
|
49 |
$orig_request = rtrim($_REQUEST['redirurl'], " /");
|
|
50 | 50 |
$clientip = $_SERVER['REMOTE_ADDR']; |
51 | 51 |
|
52 | 52 |
if (!$clientip) { |
Also available in: Unified diff
USe rtrim here as that it the meaning. This should unbreak the issues on 2.0.2 with CP