> since it is a major bug?

Ok. The good news is that I got a workaround for you :) .

Create the component without the FTP password defined in the
parameters and then programatically set it on the endpoint.

final String uri = "ftp://user@host/doveci";;
CamelContext camelContext = new DefaultCamelContext();
camelContext.addRoutes(new RouteBuilder() {
  @Override
  public void configure() throws Exception {
    from(uri).to("log:OUT");
  }
});
camelContext.getEndpoint(uri,
FtpEndpoint.class).getConfiguration().setPassword("pass%26");

Since password passed this way is not a part of the endpoint URI, it
will be not normalized by the buggy code.

Laters.

-- 
Henryk Konsek
http://henryk-konsek.blogspot.com

Reply via email to