[
https://issues.apache.org/jira/browse/CAMEL-12982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16739986#comment-16739986
]
Tadayoshi Sato commented on CAMEL-12982:
----------------------------------------
[~zregvart] [~davsclaus] Zoran's suggestion looks better to me.
Claus, what's the point in supporting the double braces style ({{RAW((xxx))}})?
IMO supporting it would make the code more complex with little benefits for
us. With regards to implementation, changing the RAW handling part of
{{URISupport}} is easy but there are a few places where regexps are used to
validate the URIs, which need to be rewritten as well to support the enhanced
syntax. Using regexps to handle these is tricky.
> 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)