-
Notifications
You must be signed in to change notification settings - Fork 626
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
Buckets with periods are ignored when using vhost-style addressing #2395
Comments
Regression from Note that the bucket name is and has always been considered "un-hoistable" by us due to the endpoint scheme being HTTPS and the bucket name having the |
|
@lucix-aws Do you happen to have an example of that logic? I did a deep dive in the various config options for a client and couldn't find a working incantation. |
Describe the bug
When:
The HTTP request created is missing the bucket name entirely.
Expected Behavior
The SDK should treat a bucket name containing a period the same as one without one.
Current Behavior
The HTTP request created is missing the bucket name entirely
Reproduction Steps
Using the following
main.go
as an example, run it in an environment with an HTTP proxy configured to view requests and thehttp_proxy
andhttps_proxy
environment variables set. I will be usingmitmproxy
.After running the above example, observe the HTTP request looks like this:
Now change the bucket name in the code snippet to
my.bucket
. Observe the request looks like this:As you can see, the bucket name is missing from the second request.
Possible Solution
No response
Additional Information/Context
No response
AWS Go SDK V2 Module Versions Used
v1.21.2
Compiler and Version used
go version go1.19.12 linux/arm64
Operating System and version
Docker - golang:1.19-alpine
The text was updated successfully, but these errors were encountered: