Azure / Azure/Azurite

Listing blobs with `prefix` query parameter sent as `Prefix` works in production but not in Azurite

Open
#465 4 comments 0 reactions 1 assignee Claimed by @Poku8 View on GitHub
alignment blob-storage enhancement NewArch
Dominant language
TypeScript
Stars
2.3k
Forks
393
Avg merge
1d 20h
Merged PRs (30d)
36

Description

Only tested the `prefix` but there could be more occurrences. It seems that the query parameter is not case-sensitive for production but is case-sensitive for Azurite, there will be an inconsistent behavior.

The HTTP protocol does not guarantee the casing for a query parameter, it is service behavior to ignore case:
> The query string part is available to the server as it is. You can readily use mixed-case as you like, or discard the case (toLowerCase(...)). This also means that using a base64-encoded keys will work. You can't expect the users to type that correctly, though.

Linking to a PHP SDK issue: https://github.com/Azure/azure-storage-php/issues/235

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.