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 Meschberger (JIRA)" <ji...@apache.org> on 2010/09/11 16:47:33 UTC
[jira] Commented: (SLING-1752) post-login redirect doesn't include
context path
[ 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.