[
https://issues.apache.org/jira/browse/CAMEL-24901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrea Cosentino updated CAMEL-24901:
-------------------------------------
Fix Version/s: 4.23.0
> camel-aws2-s3: restrict Simple expression evaluation of key/bucket to
> configured values
> ---------------------------------------------------------------------------------------
>
> Key: CAMEL-24901
> URL: https://issues.apache.org/jira/browse/CAMEL-24901
> Project: Camel
> Issue Type: Improvement
> Components: camel-aws2-s3
> Reporter: Andrea Cosentino
> Assignee: Andrea Cosentino
> Priority: Major
> Fix For: 4.23.0
>
>
> The camel-aws2-s3 producer evaluates the S3 key and bucket name through the
> Simple language whenever the value contains a Simple function
> ({{AWS2S3Utils.determineKey()}} and {{determineBucketName()}}). This applies
> to values taken from the {{CamelAwsS3Key}} / {{CamelAwsS3OverrideBucketName}}
> headers as well as the configured {{keyName}} / {{bucketName}}.
> Simple-expression support (CAMEL-20971) was intended for configured dynamic
> keys/buckets and should be restricted to the configured {{keyName}} /
> {{bucketName}}. A key or bucket supplied through an exchange header should be
> used literally.
> This is a behavioural change and will be noted in the upgrade guide. Unit
> tests to be added for both cases.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)