This is expected and how RAW() currently works.
On Tue, Dec 3, 2013 at 5:47 PM, Marco Crivellaro <marco.cr...@gmail.com> wrote: > Hi, > I've just bumped into an issue with ExchangeHelper.resolveEndpoint when > used on a URI which has authPassword parameter value using RAW() value > > > ExchangeHelper.resolveEndpoint(exch, > "http://host:80/script.php?httpClient.soTimeout=3600000&authMethod=Basic&authPassword=RAW(pass!)&authUsername=usr").getEndpointUri() > > returns following URI: > http://host:80/script.php?httpClient.soTimeout=3600000&authMethod=Basic&authPassword=pass%21&authUsername=usr > > > as you can see the authPassword parameter value have been changed from > RAW(pass!) to pass%21 > > this is not occurring when using RAW() value on ftp endpoint password > parameter, it just leave the original value. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/issue-with-ExchangeHelper-resolveEndpoint-when-using-RAW-parameter-on-authPassword-tp5744246.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen