I think I may have discovered an issue with the way the automatic “login redirect” works in Litium. If you’ve named the templates correctly, if a user tries to navigate to a page she doesn’t have access to, she is automatically redirected to the login with a RedirectUrl
-parameter.
The problem I am seeing that if the link contains a # the Redirect isn’t encoded correctly. Example navigating to:
/a-page#with-anchor
The login url and RedirectUrl
-parameter becomes
/login?RedirectUrl=%2fa-page#with-anchor
But it should have become
/login?RedirectUrl=%2fa-page%23with-anchor.
It fails to encode the #
which effectively makes it disappear.
Can I hook into this somewhere to fix it?
Litium version: 6.3.7