Marco Crivellaro created CAMEL-7057:
---------------------------------------

             Summary: Issue with password having double &&
                 Key: CAMEL-7057
                 URL: https://issues.apache.org/jira/browse/CAMEL-7057
             Project: Camel
          Issue Type: Bug
    Affects Versions: 2.12.2
            Reporter: Marco Crivellaro
            Priority: Minor


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. 



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to