You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Stefano Antonello (JIRA)" <ji...@apache.org> on 2013/06/25 16:42:20 UTC
[jira] [Created] (CAMEL-6489) Camel 2.11 not escaping correctly &
in endpoint URIs
Stefano Antonello created CAMEL-6489:
----------------------------------------
Summary: Camel 2.11 not escaping correctly & in endpoint URIs
Key: CAMEL-6489
URL: https://issues.apache.org/jira/browse/CAMEL-6489
Project: Camel
Issue Type: Bug
Components: camel-ftp, camel-http
Affects Versions: 2.11.0
Reporter: Stefano Antonello
Hello,
I am using the Apache Camel component 2.11 for managing routes with ftp and trasferring file.
Sometime the remote location have password with special characters like "&". The correct escaping in uri (%26) of that character in uri doesn't help and
a org.apache.camel.ResolveEndpointFailedException' is being thrown while initializing.
I saw that other people have this issue (i've looked in camel-user mailing list: http://camel.465427.n5.nabble.com/FTP-Component-Failed-to-resolve-endpoint-tt5721583.html)
I've also watched for jira of that issue, in CAMEL-6176 it's status is fixed, but if there are 2 parameters that contain special characters (eg: user name and password of an ftp site), i can't move one of the two to be the last parameter.
There is a way to escape correctly those characters in uri so it is not confused with options separator or other format in uri?
I've write some unit test cases for camel-ftp under UriConfigurationTest that will fail with Camel 2.11 and some others unit test for camel-http to test Basic Authentication Http, see the attachments.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira