Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16699

HttpProducer skip request headers for query params on bridge endpoint broken for common types

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.7.4, 3.7.3
    • Fix Version/s: 3.7.5, 3.9.0
    • Component/s: camel-http
    • Labels:
      None
    • Estimated Complexity:
      Moderate

      Description

      The check for query parameters to skip when populating HTTP request headers on a bridge endpoint is broken in HttpProducer.java with release 3.7.3.

      The optimisation applied for common types in headers (String, Long, Integer, Boolean) breaks out of the loop without assessing the `skipRequestHeaders` content, causing query parameters of these types to be duplicated at the receiver (present both in HTTP request params and in exchange headers).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              m47iast Mathias
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: