You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/06/11 10:29:00 UTC
[jira] [Resolved] (CAMEL-16699) HttpProducer skip request headers
for query params on bridge endpoint broken for common types
[ https://issues.apache.org/jira/browse/CAMEL-16699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-16699.
---------------------------------
Resolution: Fixed
> HttpProducer skip request headers for query params on bridge endpoint broken for common types
> ---------------------------------------------------------------------------------------------
>
> Key: CAMEL-16699
> URL: https://issues.apache.org/jira/browse/CAMEL-16699
> Project: Camel
> Issue Type: Bug
> Components: camel-http
> Affects Versions: 3.7.4, 3.7.3
> Reporter: Mathias
> Priority: Major
> Fix For: 3.7.5, 3.9.0
>
>
> The check for query parameters to skip when populating HTTP request headers on a bridge endpoint is broken in HttpProducer.java with release 3.7.3.
> The optimisation applied for common types in headers (String, Long, Integer, Boolean) breaks out of the loop without assessing the `skipRequestHeaders` content, causing query parameters of these types to be duplicated at the receiver (present both in HTTP request params and in exchange headers).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)