[weld-issues] [JBoss JIRA] Created: (WELD-643) wrong redirect URL in long-running conversation

Dmitry Cherepanov (JIRA) jira-events at lists.jboss.org
Fri Aug 27 07:13:12 EDT 2010


wrong redirect URL in long-running conversation
-----------------------------------------------

                 Key: WELD-643
                 URL: https://jira.jboss.org/browse/WELD-643
             Project: Weld
          Issue Type: Bug
          Components: Web Tier integration (JSF, JSP, EL and Servlet) 
    Affects Versions: 1.0.1.Final
            Reporter: Dmitry Cherepanov


when I try to send redirect to URL like "/path/to/my/view.xhtml", browser receives redirect to "/view.jsf"
this happens if long-running conversation is active
it seems the problem in following code
public FacesUrlTransformer toRedirectViewId()
{
// skipped
    int lastSlash = url.lastIndexOf("/");
    if (lastSlash > 0) 
    {
        url = url.substring(lastSlash);
    }
// skipped
 }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list