Redirection url trimmed "/"
-
I had an issue about the redirection with an url path (pfSense 2.0.2).
If the user asked for example "www.site.com/test" then the captive portal translated it to "www.site.comtest".I had to change in /usr/local/captiveportal/index.php line 49:
from```
$orig_request = trim($_REQUEST['redirurl'], " /");to``` $orig_request = trim($_REQUEST['redirurl']);
-
This has been fixed on 2.0.3 the only way to fix is to gitsync there.
On 2.1 just go to a newer snapshot.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.