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

HttpRestHeaderFilterStrategy doesn't filter queryParameter headers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.11.3
    • 3.13.0, 3.11.4
    • camel-http-common
    • None
    • Unknown

    Description

      When a rest api is called using the rest-openapi component query parameter headers are not filtered by HttpRestHeaderFilterStrategy. It expects that the queryParameters string is url encoded, but as you can see on the screenshot it's not. In this case all of the query parameters are flagged as required=false and therefore they also have a question mark  after the parameter name. So even if the queryParameters string had been encoded it would been filtered any way.

      Attachments

        1. image-2021-10-25-09-41-30-192.png
          1021 kB
          Henrik Karlsson

        Issue Links

          Activity

            People

              Unassigned Unassigned
              henka-rl Henrik Karlsson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: