Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
2.19.0
-
None
-
None
-
Unknown
Description
CAMEL-10392 introduced session/cookie handling for camel-restlet. However, this also introduced a bug where new URI is created from resourceUri before it's encoded.
Before this change the uri would be safely encoded within restlet's Request constructor.
See this code in RestletProducer:
String resourceUri = buildUri(endpoint, exchange); URI uri = new URI(resourceUri); // <- causes exception on unencoded uri request = new Request(endpoint.getRestletMethod(), resourceUri); // <- will encode uri binding.populateRestletRequestFromExchange(request, exchange);
Attachments
Issue Links
- relates to
-
CAMEL-10392 HTTP session handling in Camel routes
- Resolved
- links to