camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramon Buckland <>
Subject Re: Camel Remote File Producer / Recipient List Password Issue
Date Tue, 27 Jan 2009 12:07:47 GMT
I created a quick test (added a test method to

As it turns out, the URI object passed to the RemoteConfiguration does not
distinguish a seperate username / password.
Currently the username is in uri.getUserInfo(). When you supply
ftp://username:password@ you see userInfo as "username:password".

In this case, the only way to handle this is to split on a colon. Which
means colon then has to be escaped it is it part of a username (we could say
that the first colon is the separator).

URI is doing the correct thing, userInfo has the "user info", username AND
password. We would need to split it if it is there.
And handle a :colon username , such as ftp://my%3Ausername:password@host:port/
by url (de)encoded format.

Question: should we add this "feature in" ?

On Tue, Jan 27, 2009 at 19:18, Ramon Buckland <>wrote:

> Ramon do you mind creating a unit test with that kind of URI so we can
>> have it supported?
>> Consider it done.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message