oscerd opened a new pull request, #31322: URL: https://github.com/apache/camel/pull/31322
## Backport of #31250 Cherry-pick of #31250 onto `camel-4.18.x`. **Original PR:** #31250 **Original title:** CAMEL-28020: camel-salesforce - validate REST and raw client request URLs and encode id segments **Type:** straight cherry-pick (mechanical). The merged commit 1b237910a5ba applied without code conflicts. Git merged `AbstractClientBase.java`, `DefaultRawClient.java` and `DefaultRestClient.java` automatically, and no code was adapted for this branch: every changed line and its context are the ones of the original PR, only the line numbers of the hunks differ. `camel-4.18.x` still has the Jackson 2 imports in these classes, which the change does not touch. The two new test classes are the same files as on `main`. The upgrade guide note of the original PR (`camel-4x-upgrade-guide-4_25.adoc`) is not part of this backport. That file does not exist on `camel-4.18.x`, and the upgrade guides of all release lines are kept on `main`, where the matching note for this line goes into `camel-4x-upgrade-guide-4_18.adoc`. Changed module: `camel-salesforce-component` (`AbstractClientBase`, `DefaultRawClient`, `DefaultRestClient`), plus the two new tests `DefaultRestClientRequestUrlTest` and `DefaultRawClientRequestUrlTest`. No generated files change. Checked on this branch: the full reactor build (`clean install -DskipTests -DskipITs`) and the unit tests of `camel-salesforce-component` (202 tests, including the 13 new ones) pass. _Claude Code on behalf of oscerd_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
