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

Claus Ibsen updated CAMEL-21840:
--------------------------------
    Fix Version/s: 4.10.2
                   4.11.0

> camel-http does not encode path correctly when used with HTTP_QUERY header
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-21840
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21840
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-http
>    Affects Versions: 3.10.0, 4.10.1
>            Reporter: Dennis Bohnstedt
>            Priority: Major
>             Fix For: 4.10.2, 4.11.0
>
>
> During update from Camel 2.x to 4.x we found a bug in Camel-http. It no 
> longer encodes Http path correctly when used with header HTTP_QUERY.
> The problem is that HttpProducer does not convert the path to ASCIIString, 
> since it uses the wrong variable when creating HttpUriRequest.
> Camel 2.x: 
> {code:java}
> http-outgoing-0 >> "GET /rest/service?ProcesName='Ans%C3%A6ttelse' 
> HTTP/1.1[\r][\n]"
> {code}
> Camel 4.x:
> {code:java}
> http-outgoing-0 >> "GET /rest/service?ProcesName='Ans[0xffffffe6]ttelse' 
> HTTP/1.1[\r][\n]" {code}
> The problem was introduced in version 3.10.0.



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

Reply via email to