You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/06/01 08:23:46 UTC

[GitHub] [camel-quarkus] zhfeng opened a new issue, #3829: aws2-s3 downloadLink test does not work with the real AWS account

zhfeng opened a new issue, #3829:
URL: https://github.com/apache/camel-quarkus/issues/3829

   It happens only with `quarkus-aws2-s3` client. Refer to https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/s3/presigner/S3Presigner.html
   
   **Browser Compatibility**
   Some pre-signed requests can be executed by a web browser. These "browser compatible" pre-signed requests do not require the customer to send anything other than a "host" header when performing an HTTP GET against the pre-signed URL.
   
   Whether a pre-signed request is "browser compatible" can be determined by checking the [PresignedRequest.isBrowserExecutable()](https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/awscore/presigner/PresignedRequest.html#isBrowserExecutable--) flag. It is recommended to always check this flag when the pre-signed request needs to be executed by a browser, because some request fields will result in the pre-signed request not being browser-compatible.
   
   If checksum validations are enabled, the presigned URL will no longer be browser compatible because it adds a signed header that must be included in the HTTP request. Checksum validation is disabled in the presigner by default, but when using a custom [S3Configuration](https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/s3/S3Configuration.html) when enabling features like path style access or accelerate mode, it must be explicitly disabled.
   
   So it have to set
   ```
   quarkus.s3.checksum-validation=false
   ```


-- 
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: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng closed issue #3829: aws2-s3 downloadLink test does not work with the real AWS account

Posted by GitBox <gi...@apache.org>.
zhfeng closed issue #3829: aws2-s3 downloadLink test does not work with the real AWS account
URL: https://github.com/apache/camel-quarkus/issues/3829


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org