You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2025/07/25 07:02:04 UTC
(camel) branch camel-4.10.x updated: CAMEL-22273 - Google Storage Component: Content disposition header is not set correctly
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch camel-4.10.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.10.x by this push:
new ee58e19ec0c CAMEL-22273 - Google Storage Component: Content disposition header is not set correctly
ee58e19ec0c is described below
commit ee58e19ec0cb38ce40de5ca23471729bf67c3541
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jul 25 08:59:51 2025 +0200
CAMEL-22273 - Google Storage Component: Content disposition header is not set correctly
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../camel/component/google/storage/GoogleCloudStorageProducer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-google/camel-google-storage/src/main/java/org/apache/camel/component/google/storage/GoogleCloudStorageProducer.java b/components/camel-google/camel-google-storage/src/main/java/org/apache/camel/component/google/storage/GoogleCloudStorageProducer.java
index 37edefd76f6..83e98449baf 100644
--- a/components/camel-google/camel-google-storage/src/main/java/org/apache/camel/component/google/storage/GoogleCloudStorageProducer.java
+++ b/components/camel-google/camel-google-storage/src/main/java/org/apache/camel/component/google/storage/GoogleCloudStorageProducer.java
@@ -122,7 +122,7 @@ public class GoogleCloudStorageProducer extends DefaultProducer {
}
String cd = objectMetadata.remove("Content-Disposition");
if (cd != null) {
- builder.setContentDisposition(ct);
+ builder.setContentDisposition(cd);
}
String ce = objectMetadata.remove("Content-Encoding");
if (ce != null) {