davsclaus commented on PR #29731:
URL: https://github.com/apache/camel/pull/29731#issuecomment-6829453887

   Labelled `port/camel-4.22.x` and `port/camel-4.18.x`: both branches have the 
bug. `NettyHttpComponent.createEndpoint` builds the URI from the parameters 
before `setProperties` binds the endpoint options, and there the producer calls 
`getEndpointUri()` (`NettyHttpHelper`, `HttpClientInitializerFactory`), so 
`cookieHandler`, `httpMethodRestrict` and the like are sent to the server as 
query parameters.
   
   The port is not a straight cherry-pick: the LTS branches got CAMEL-26487 
with an `identityUri` on the endpoint instead of the `addressUri` split of 
main. On those branches the called URI must be built after `setProperties`, 
while the identity keeps all the options, so that two Rest DSL endpoints that 
differ only in an option stay separate. CAMEL-26485 fixVersions now include 
4.22.3 and 4.18.6.
   
   _Claude Code on behalf of davsclaus_


-- 
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