We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d50a5f commit 83a533bCopy full SHA for 83a533b
azblob/parsing_urls.go
@@ -69,6 +69,7 @@ func NewBlobURLParts(u url.URL) BlobURLParts {
69
if isIPEndpointStyle(up.Host) {
70
if accountEndIndex := strings.Index(path, "/"); accountEndIndex == -1 { // Slash not found; path has account name & no container name or blob
71
up.IPEndpointStyleInfo.AccountName = path
72
+ path = "" // No ContainerName present in the URL so path should be empty
73
} else {
74
up.IPEndpointStyleInfo.AccountName = path[:accountEndIndex] // The account name is the part between the slashes
75
path = path[accountEndIndex+1:] // path refers to portion after the account name now (container & blob names)
0 commit comments