You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Tadayoshi Sato (JIRA)" <ji...@apache.org> on 2018/12/18 05:17:00 UTC

[jira] [Commented] (CAMEL-12982) Add support for alternative RAW() syntax

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

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

I tried a few extra cases with {{EndpointWithRawUriParameterTest}} but none of them failed so far. I think it's better to identify the special cases where the existing {{RAW()}} syntax fail before introducing the new alternative syntax.

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