[
https://issues.apache.org/jira/browse/CAMEL-8417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-8417.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.13.4
Thanks for reporting.
> RAW_TOKEN_START and RAW_TOKEN_END not removed when query parameter occurs
> multiple times
> ----------------------------------------------------------------------------------------
>
> Key: CAMEL-8417
> URL: https://issues.apache.org/jira/browse/CAMEL-8417
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.14.1
> Reporter: Marc Lehnert
> Assignee: Claus Ibsen
> Fix For: 2.13.4, 2.14.3, 2.15.0
>
>
> The tokens RAW_TOKEN_START ("RAW(") and RAW_TOKEN_END (")") are not removed
> when the parameter value is a list. The bug is in "resolveRawParameterValues"
> in org.apache.camel.util.UriSupport (lines 323, 324):
> {code}
> String value = entry.getValue().toString();
> if (value.startsWith(RAW_TOKEN_START) &&
> value.endsWith(RAW_TOKEN_END)) {
> {code}
> This does not work when entry.getValue() contains a list.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)