Bug #11842
closed
Captive Portal post-auth redirect is not properly respected
Added by Jim Pingle almost 5 years ago.
Updated almost 5 years ago.
Plus Target Version:
21.05
Description
The value of "After authentication Redirection URL" in Captive Portal is supposed to override the automatically detected browser request URL so that the user is forced to go to that destination. This is the behavior stated under the field in the GUI. It is not a value of last resort.
Currently the code is not respecting that behavior.
While here, the redirect code handling is a bit of a mess and needs fixed up in general.
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset commit:de9ba32bd3531ccf74e143391deaacb77e085097.
A feedback :
I saw my browser sending 'plain http' to the https port.
File /etc/inc/captiveportal.inc line 2261 :
$protocol = (isset($cpcfg['httpslogin'])) ? 'https://' : 'http://';
$cpcfg is assigned a couple of lines lower, line 2275 :
$cpcfg = $config['captiveportal'][$cpzone];
I put this line before line 2261 and all is well.
edit : is it ok to leave message like this over here ?
- Status changed from Feedback to In Progress
I'll look into that ASAP, thanks for testing!
- % Done changed from 100 to 90
- Status changed from In Progress to Feedback
- % Done changed from 90 to 100
Applied in changeset commit:48860631d02e7aea6c03cef043a58081a1fadbb8.
- Plus Target Version set to 21.05
- Target version changed from 2.6.0 to 2.5.2
- Status changed from Feedback to Closed
Also available in: Atom
PDF