[ 
https://issues.apache.org/jira/browse/CAMEL-12982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16723704#comment-16723704
 ] 

Tadayoshi Sato commented on CAMEL-12982:
----------------------------------------

Are we talking about something like {{"foo)&a=v"}} for password value?  Indeed 
the following endpoint fails:
{code:java}
.to("mycomponent:foo?password=RAW(foo)&a=v)&username=scott")
{code}


> Add support for alternative RAW() syntax
> ----------------------------------------
>
>                 Key: CAMEL-12982
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12982
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Tadayoshi Sato
>            Priority: Major
>             Fix For: 3.0.0, 2.24.0
>
>
> In some edge case you may have a password=foo)+bar which you want to use 
> as-is. The + sign gets escaped and therefore you need to use RAW syntax. But 
> the closing paranthesis is used the first one. And the parser is not always 
> smart enough. But this can be tricky to improve as you can use &a=v as will 
> and the parser thinks its a new option etc.
> So instead we should add an alternative syntax such as RAW{} where we use 
> curly brackets.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to