-
Notifications
You must be signed in to change notification settings - Fork 862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWSSDK.S3 3.7.307.4 escapes colon in bucket name in GetPreSignedURL #3239
Comments
@desdoades Good morning. Thanks for reporting the issue. Could you please share if you are using AWS S3 service or simulated service that mimics S3? Thanks, EDIT: Looks like you are using CEPH S3 service. |
Need reproduction with actual AWS S3 service. |
@desdoades Good afternoon. Please confirm if your bucket is named Thanks, |
Dear @ashishdhingra, we are not using AWS S3 but netways S3 which uses ceph. As I said it does not have the bucketname in the subdomain but in the path. |
@desdoades Thanks for the reply. As mentioned in my previous comment, colon Please contact Ceph S3 support to handle this character at their end (this may be as simple as decoding the URL before processing various segments). Thanks, |
Dear @ashishdhingra, While AWS might not support them many site allow colons in the URL. |
Comments on closed issues are hard for our team to see. |
Describe the bug
We use ceph S3 where bucket names are not a subdomain but after the domain, e.g. https://example.com/11213ef55:mybucket/path/to/file.jpg.
When using AWSSDK.S3 3.7.307.4 it percent-encodes a colon in the bucket name (which is a valid character in an URL path) when calling GetPreSignedURL(request).
This breaks the upload to our S3 file host since it can not match to the correct bucket.
Can this be fixed on your end or would you say thats a problem of the ceph S3?
Expected Behavior
We are currently on AWSSDK 3.7.103.13 where it does not percent-encode a colon in the bucket name.
In this version the file upload to S3 works.
Current Behavior
Because of the colon percent-encode the s3 ceph file server returns a
Reproduction Steps
That should not be neccessary
Possible Solution
No response
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
AWSSDK.S3 3.7.307.4
Targeted .NET Platform
.NET 8
Operating System and version
Windows 10
The text was updated successfully, but these errors were encountered: