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 2015/03/01 15:22:04 UTC
[jira] [Assigned] (CAMEL-8417) RAW_TOKEN_START and RAW_TOKEN_END
not removed when query parameter occurs multiple times
[ https://issues.apache.org/jira/browse/CAMEL-8417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-8417:
----------------------------------
Assignee: Claus Ibsen
> 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.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)