You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Oghină (JIRA)" <ji...@apache.org> on 2014/04/03 15:26:15 UTC

[jira] [Created] (SLING-3488) Redirect after authentication breaks with context path

Felix Oghină created SLING-3488:
-----------------------------------

             Summary: 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)