You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/04/19 15:58:41 UTC

[jira] [Commented] (CAMEL-11171) camel-zookeeper-master - RAW() and child endpoint issue

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

ASF GitHub Bot commented on CAMEL-11171:
----------------------------------------

GitHub user paoloantinori opened a pull request:

    https://github.com/apache/camel/pull/1642

    CAMEL-11171 - camel-zookeeper-master, fix to support RAW() function

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/paoloantinori/camel CAMEL-11171

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1642.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1642
    
----
commit 2cd3287e07c6e25976f5d87b8c6c5356ca8dc7a1
Author: Paolo Antinori <pa...@redhat.com>
Date:   2017-04-19T15:56:40Z

    CAMEL-11171 - camel-zookeeper-master, fix to support RAW() function

----


> camel-zookeeper-master - RAW() and child endpoint issue
> -------------------------------------------------------
>
>                 Key: CAMEL-11171
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11171
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.18.3
>            Reporter: Paolo Antinori
>            Assignee: Luca Burgazzoli
>
> {{camel-zookeeper-master}} component has an issue with the usage of {{RAW()}} function in child endpoint configuration.
> {{zookeeper-master://name:sftp://myhost/inbox?password=RAW(_BEFORE_AMPERSAND_&_AFTER_AMPERSAND_)&username=jdoe}} will mishandle the the content of {{RAW()}} , when at some point the escaped ampersand symbol is unescaped, and a wrong set of parameters is used.
> The attached PR fixed the issues and adds a unit test to verify the behavior before and after the fix.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)