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

HttpRestHeaderFilterStrategy doesn't filter queryParameter headers

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment