Upload return virtual host style url for bucket with dot in the name #6748
Labels
bug
This issue is a bug.
investigating
Issue is being investigated and/or work is in progress to resolve the issue.
Checkboxes for prior research
Describe the bug
Related issue:
#5490
Related Code
https://github.com/aws/aws-sdk-js-v3/blob/main/lib/lib-storage/src/Upload.ts#L171-L181
Why I think this is a bug:
forcePathStyle
is not set.Regression Issue
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v18.17.0
Reproduction Steps
Use an s3 bucket with dots in its name
Observed Behavior
the location returned is not an accessible url
eg. https://example.bucket.s3.ap-south-1.amazonaws.com/key
Expected Behavior
it should use path style, eg. https://s3.ap-south-1.amazonaws.com/example.bucket/key
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: