glassfish
  1. glassfish
  2. GLASSFISH-18681

[websocket] DefaultWebSocket.getRequest() returns invalid values

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: None
    • Component/s: web_container
    • Labels:
      None

      Description

      DefaultWebSocket.getRequest().getPathInfo() and getServletPath() returns wrong value. As an example, deploying atmosphere-rest-chat.war and invoking URL /atmosphere-rest-chat/chat produces

      pathInfo = /atmosphere-rest-chat/chat
      servletPath = ""
      contextPath = /atmosphere-rest-chat
      
      

      Values should have be

      I don't recall the exact issue number but I'm sure this bug was supposed to be fixed.
      
      
      
      pathInfo = null
      servletPath = /chat
      contextPath = /atmosphere-rest-chat
      
      

        Activity

          People

          • Assignee:
            Ryan Lubke
            Reporter:
            jfarcand
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: