[
https://issues.apache.org/jira/browse/SLING-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Oghină updated SLING-3488:
--------------------------------
Description:
Specifying a sling.auth.redirect parameter in an authentication request is
broken if running with a context path:
* if the parameter value doesn't contain the context path it's rejected as
invalid and the request is redirected to /contextpath
* if the parameter value contains the contextpath it is duplicated in the
redirect, so the request is redirected to /contextpath/contextpath/...
was:
Specifying a {{sling.auth.redirect}} parameter in an authentication request is
broken if running with a context path:
* if the parameter value doesn't contain the context path it's rejected as
invalid and the request is redirected to {{/contextpath}}
* if the parameter value contains the contextpath it is duplicated in the
redirect, so the request is redirected to {{/contextpath/contextpath/...}}.
> Redirect after authentication breaks with context path
> ------------------------------------------------------
>
> Key: SLING-3488
> URL: https://issues.apache.org/jira/browse/SLING-3488
> Project: Sling
> Issue Type: Bug
> Components: Authentication
> Reporter: Felix Oghină
>
> Specifying a sling.auth.redirect parameter in an authentication request is
> broken if running with a context path:
> * if the parameter value doesn't contain the context path it's rejected as
> invalid and the request is redirected to /contextpath
> * if the parameter value contains the contextpath it is duplicated in the
> redirect, so the request is redirected to /contextpath/contextpath/...
--
This message was sent by Atlassian JIRA
(v6.2#6252)