oscerd opened a new pull request, #26842: URL: https://github.com/apache/camel/pull/26842
Backport of #26746 (CAMEL-24901) to `camel-4.18.x`. Restricts Simple-language evaluation in the camel-aws2-s3 producer to the configured `keyName`/`bucketName`; a key or bucket supplied through the `CamelAwsS3Key` / `CamelAwsS3OverrideBucketName` header is used literally. The production change (`AWS2S3Utils`) and the IT migration are a straight port. The unit test was adapted to this branch: `AWS2S3UtilsTest` does not exist on 4.18.x (CAMEL-23548 prefix/suffix helpers were never backported here), so it is added fresh with junit5 `CamelTestSupport` and only the `determineKey`/`determineBucketName` cases. The main-only 4.23 upgrade-guide entry is omitted (the matching 4.18 note is added on `main` in #26841). 🤖 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]
