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

camel-http - Prevent duplicating slashes in generated URI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.0-M3
    • camel-http
    • None
    • Unknown

    Description

      After upgrading to HttpComponents v5, Jenkins raised 2 regressions which are VertxPlatformHttpProxyTest.testProxy and PlatformHttpProxyTest.testProxy.

      After a deeper investigation, it seems to be due to the fact that when the endpoint URI has a trailing slash and the path starts with a slash, the generated URI contains 2 slashes instead of only one which was accepted by HttpComponents v4 but it is rejected by HttpComponents v5.

      Attachments

        Issue Links

          Activity

            People

              nfilotto Nicolas Filotto
              nfilotto Nicolas Filotto
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: