Redirect to 2fregisters is missing a slash
Concerned version
Version: %2.0.11
Platform: Apache
Summary
My config contains:
portal = https://accounts.mandelberg.org
sfRequired = 1
When I logged in for the first time after adding sfRequired = 1
, I got redirected to https://accounts.mandelberg.org2fregisters/. Note the missing /
.
Logs
N/A
Backends used
N/A
Possible fixes
From glancing at the code, I'm guessing the bug is either https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/blob/dea7b235b10f6ae73b827419720f8faaa13d8005/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/2F/Engines/Default.pm#L333 or https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/blob/dea7b235b10f6ae73b827419720f8faaa13d8005/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/2F/Engines/Default.pm#L571 (or both).
As a workaround, I'll add a trailing slash to the portal base URL.