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

Claus Ibsen commented on CAMEL-16813:
-------------------------------------

Yes its a corner case, and good idea to add a INFO in the docs.

Instead of RAW() you can use password=#property:myPass and then have myPass a 
property placeholder value.
See the docs at
https://camel.apache.org/manual/latest/property-binding.html

> [Doc] RAW function - escape ) character
> ---------------------------------------
>
>                 Key: CAMEL-16813
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16813
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 3.10.0
>            Reporter: Pasquale Congiusti
>            Assignee: Pasquale Congiusti
>            Priority: Minor
>
> We've been reported a possible bug when using the RAW function including a ) 
> character. This is interpreted as closing the RAW function, though it may be 
> part of the argument.
> As an example:
> {code}
>     from("sftp:testserver/../testdir/?password=RAW(se+re?t)&23)")
> {code}
> Will fail as the function will take only *se+re?t* as an argument. I wonder 
> if there is any escape character and if not, I think it makes sense to 
> include all the text until the last ) character.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to