pierpaolo1 opened a new issue, #1423:
URL: https://github.com/apache/camel-karavan/issues/1423

   ### Describe the bug
   
   The CXF-RS component does not route the query parameters correctly.
   
   ### Steps to reproduce the behavior
   
   1. Create a simple CXF-RS that routes messages to an external endpoint
   
![immagine](https://github.com/user-attachments/assets/4b70eb98-c188-4f3b-a8bb-487f2647deb9)
   2. In "Address" field fill with an external address: 
http://123.123.123.123:1234
   3. If the route is called with a query parameter, example: 
http://127.0.0.1:8080/param1/param2?param3=value 
   endpoint receives /param1/param2%3Fparam3=value , so the question mark is 
url encoded
   
   A workaround is ToD, deleting CamelHttpPath and chaining CamelHttpUri like 
this:
   cxfrs://http://123.123.123.123:1234/${in.header.CamelHttpUri}
   but in this way I must manage manually "404 not found" with Try-Catch.
   
   Is url encoding an expected behavior?
   
   ### Variant
   
   Vs Code Extension
   
   ### Container Management (if applicable)
   
   None
   
   ### Operating System (if applicable)
   
   Linux
   
   ### Version
   
   4.7.0
   
   ### Relevant log output
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to