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

Issue with password having double &&

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.12.2
    • 2.11.3, 2.12.3, 2.13.0
    • None
    • None
    • Unknown

    Description

      there is an issue with handling password with double && even when wrapping it into RAW() constraint

      For instance the use of URI

      http://hostname/script.php?authMethod=Basic&authPassword=RAW(pa&&word)&authUsername=usr

      throws the exception:

      org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: http://hostname/script.php?authMethod=Basic&authPassword=RAW(pa&&word)&authUsername=usr due to: Invalid uri syntax: Double && marker found. Check the uri and remove the duplicate & marker.

      Attachments

        Activity

          People

            njiang Willem Jiang
            crive Marco Crivellaro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: