Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-516

ClientWindowHelper.handleInitialRedirect mutilates URL, pathInfo is omitted

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          People

            tandraschko Thomas Andraschko
            shadogray Thomas Frühbeck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: