Camel
  1. Camel
  2. CAMEL-5405

CXF Transport loses HTTP Matrix parameters

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.2
    • Fix Version/s: 2.9.3, 2.10.1, 2.11.0
    • Component/s: camel-cxf
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Novice

      Description

      DefaultCxfMesssageMapper (note the typo - to be fixed in a follow-up JIRA) wrongly initializes CXF Message Message.REQUEST_URI property with the value of Camel Exchange.HTTP_PATH, even though Camel Exchange.HTTP_URI is available.

      The net effect is that the HTTP matrix parameters if any attached to the last HTTP path segment are lost. Another side-effect is that Exchange.HTTP_PATH will contain the decoded value (done at HTTPServletRequest level) which can lead to the matching issues at the JAX-RS level.

      A simple patch is attached

      1. camel5405.diff
        5 kB
        Sergey Beryozkin
      2. camel5405_2.diff
        3 kB
        Sergey Beryozkin

        Activity

        Sergey Beryozkin created issue -
        Sergey Beryozkin made changes -
        Field Original Value New Value
        Attachment camel5405.diff [ 12533678 ]
        Willem Jiang made changes -
        Assignee Willem Jiang [ njiang ]
        Willem Jiang made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.8.6 [ 12320942 ]
        Resolution Fixed [ 1 ]
        Willem Jiang made changes -
        Fix Version/s 2.10.1 [ 12321259 ]
        Fix Version/s 2.10.0 [ 12317612 ]
        Sergey Beryozkin made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Estimated Complexity Unknown [ 10060 ] Novice [ 10061 ]
        Sergey Beryozkin made changes -
        Attachment camel5405_2.diff [ 12539802 ]
        Daniel Kulp made changes -
        Fix Version/s 2.9.3 [ 12320750 ]
        Fix Version/s 2.8.6 [ 12320942 ]
        Fix Version/s 2.10.1 [ 12321259 ]
        Claus Ibsen made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Fix Version/s 2.11.0 [ 12321695 ]
        Fix Version/s 2.10.1 [ 12321259 ]
        Fix Version/s 2.9.3 [ 12320750 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Willem Jiang
            Reporter:
            Sergey Beryozkin
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development