[ 
https://issues.apache.org/jira/browse/SLING-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908319#action_12908319
 ] 

Felix Meschberger commented on SLING-1752:
------------------------------------------

Quickly checked the form authentication handler: This redirects to the contents 
of the "resource" request attribute or parameter, which defaults to "/" which 
should really default to the context root (request.getContextPath()) and only 
be "/" if the context path is empty.

Going to fix this at least for the form authentication handler and verifying 
the OpenID authentication handler at the same time.

> post-login redirect doesn't include context path
> ------------------------------------------------
>
>                 Key: SLING-1752
>                 URL: https://issues.apache.org/jira/browse/SLING-1752
>             Project: Sling
>          Issue Type: Bug
>          Components: Authentication
>            Reporter: Justin Edelson
>            Assignee: Felix Meschberger
>
> to reproduce:
> in launchpad/builder run
> mvn -Djetty.sling.context=/sling clean jetty:run-war
> then go to http://localhost:8888/sling/, try to log in, and then see that 
> you're redirected to "/", not "/sling/"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to