[ https://issues.apache.org/jira/browse/CAMEL-20226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rhuan Rocha reassigned CAMEL-20226: ----------------------------------- Assignee: Rhuan Rocha > DefaultComponent createEndpoint get wrong uri when param surround by RAW() > -------------------------------------------------------------------------- > > Key: CAMEL-20226 > URL: https://issues.apache.org/jira/browse/CAMEL-20226 > Project: Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 3.14.10 > Reporter: SilkyAlex > Assignee: Rhuan Rocha > Priority: Minor > > my route like that: > {code:java} > from("direct:start").to("myroute:test2?secretKey=RAW(test!@#$%-+./test)");{code} > and when camel callback createEndpoint function, I received uri param is: > {code:java} > myroute://test2?secretKey=RAW(test!@%23$%25-+./test){code} > found that # and % has been url encoded > and it will pass to new Endpoint > when I invoke DefaultConsumerTemplate.receive(endpoint) > the code will get the wrong secretKey by calling > {code:java} > endpoint.getEndpointUri(){code} > > I try it on 4.2.0, this problem can also be reproduced. > -- This message was sent by Atlassian Jira (v8.20.10#820010)