You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Federico Mariani (Jira)" <ji...@apache.org> on 2026/03/03 10:33:00 UTC
[jira] [Resolved] (CAMEL-23123) S3Presigner does not honor forcePathStyle configuration in createDownloadLink/createUploadLink operations
[ https://issues.apache.org/jira/browse/CAMEL-23123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Federico Mariani resolved CAMEL-23123.
--------------------------------------
Resolution: Fixed
> 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
> Priority: Major
> 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)