Federico Mariani created CAMEL-23123:
----------------------------------------
Summary: S3Presigner does not honor forcePathStyle configuration
in createDownloadLink/createUploadLink operations
Key: CAMEL-23123
URL: https://issues.apache.org/jira/browse/CAMEL-23123
Project: Camel
Issue Type: Bug
Components: camel-aws2-s3
Affects Versions: 4.18.0
Reporter: Federico Mariani
Assignee: Federico Mariani
Fix For: 4.18.1, 4.19.0
When using the aws2-s3 component with forcePathStyle=true, the S3Client
correctly uses path-style URLs. However, the S3Presigner built internally by
createDownloadLink and createUploadLink operations ignores the forcePathStyle
setting, producing virtual-hosted-style presigned URLs instead.
This causes presigned URLs to fail for S3-compatible stores that require
path-style access (MinIO, LocalStack, Dell ECS, etc.).
For example, with forcePathStyle=true and
uriEndpointOverride=http://localhost:9000:
- Expected: http://localhost:9000/my-bucket/my-key?...
- Actual: http://my-bucket.localhost:9000/my-key?..
--
This message was sent by Atlassian Jira
(v8.20.10#820010)