You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Nicolas Filotto (Jira)" <ji...@apache.org> on 2023/03/20 11:04:00 UTC

[jira] [Resolved] (CAMEL-19171) camel-http - Prevent duplicating slashes in generated URI

     [ https://issues.apache.org/jira/browse/CAMEL-19171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Filotto resolved CAMEL-19171.
-------------------------------------
    Resolution: Fixed

> camel-http - Prevent duplicating slashes 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
>            Priority: Minor
>             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 it is rejected by HttpComponents v5.



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