Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7799

Query parameters are not handled properly when WebSocket transport is used

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.5
    • Fix Version/s: 3.2.6, 3.1.17, 3.3.0
    • Component/s: JAX-RS, Transports
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      I'm trying to pass query parameters to REST endpoint over Websocket transport. I expect the passed parameters to come as query string but instead of this I receive them in the path.

      I suppose that there is an issue with Atmosphere that causes it not to pass query parameters to AtmosphereRequest.

       

      Request example (JAX-RS WebSocket Demo):

      GET /demo/customerservice/customers/123?param=value

      Expected: "123" is passed as a path parameter value

      Actual: value is "123?param=value"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                reta Andriy Redko
                Reporter:
                Alexander.Onnikov Alexander Onnikov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: