blob.ParseURL() parses wrong for azurite url with custom hostname #23793
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
needs-team-triage
Workflow: This issue needs the team to triage.
Storage
Storage Service (Queues, Blobs, Files)
Bug Report
Using the
blob.ParseURL()
in azblob return wrong information if azurite is used with a custom hostname e.g. in a docker compose setup.Used version:
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.5.0
Outputs:
Host: azurite:10000, Container: devstoreaccount1, Blob: container/test.csv
instead of
Host: azurite:10000, Container: container, Blob: test.csv
This was fixed in the .NET sdk in Azure/azure-sdk-for-net#13124
I believe it is also the root cause for #23496
The text was updated successfully, but these errors were encountered: