You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 the http_proxy and https_proxy environment variables set. I will be using mitmproxy.
Regression from EndpointResolverV2 refactor - this bucket should be appearing in the path. Will be addressed by #2417.
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 .s. If your particular TLS setup allows you to circumvent this and you want the virtual-hosting style you will have to own that logic (that's consistent with our pre-v2 behavior).
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
@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: