Nicolas Filotto created CAMEL-19171:
---------------------------------------

             Summary: camel-http - Prevent duplicating slashs in generated URI
                 Key: CAMEL-19171
                 URL: https://issues.apache.org/jira/browse/CAMEL-19171
             Project: Camel
          Issue Type: Bug
          Components: camel-http
            Reporter: Nicolas Filotto
            Assignee: Nicolas Filotto
             Fix For: 4.0-M3


After upgrading to HttpComponents v5, [Jenkins raised 2 
regressions|https://ci-builds.apache.org/job/Camel/job/Camel%20JDK17/job/main/688/testReport/]
 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 rejected by HttpComponents v5.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to