Marc Lehnert created CAMEL-8417:
-----------------------------------

             Summary: 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


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" 
(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)

Reply via email to