Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11171

camel-zookeeper-master - RAW() and child endpoint issue

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.19.0
    • Fix Version/s: 2.19.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              lb Luca Burgazzoli
              Reporter:
              paolo.antinori Paolo Antinori

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment