[
https://issues.apache.org/jira/browse/DELTASPIKE-516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Andraschko resolved DELTASPIKE-516.
------------------------------------------
Resolution: Fixed
Fix Version/s: 0.6
> ClientWindowHelper.handleInitialRedirect mutilates URL, pathInfo is omitted
> ---------------------------------------------------------------------------
>
> Key: DELTASPIKE-516
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-516
> Project: DeltaSpike
> Issue Type: Bug
> Components: JSF-Module
> Affects Versions: 0.6
> Reporter: Thomas Frühbeck
> Assignee: Thomas Andraschko
> Labels: faces, path, pathinfo, redirect, window
> Fix For: 0.6
>
>
> On LAZY redirect, ClientWindowHelper rewrites the URL:
> public static void handleInitialRedirect(FacesContext facesContext, String
> newWindowId)
> {
> // store the new windowId as context attribute to prevent infinite
> loops
> <snip>
> String url = externalContext.getRequestScheme()
> + "://" + externalContext.getRequestServerName()
> + ":" + externalContext.getRequestServerPort()
> + externalContext.getRequestContextPath()
> + externalContext.getRequestServletPath();
> Here it seems, that externalContext.getPathInfo() is missing, the rewritten
> URL is mutilated and the redirected request fails
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)