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

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

     [ https://issues.apache.org/jira/browse/SLING-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-3488.
-------------------------------------

    Resolution: Fixed

Thanks for the patch, Felix. it's applied

> 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
>    Affects Versions: Auth Core 1.1.6
>            Reporter: Felix Oghină
>            Assignee: Carsten Ziegeler
>             Fix For: Auth Core 1.1.8
>
>         Attachments: patch.diff
>
>
> 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)