Azure / Azure/Azurite

GetBlocKList error response doesn't contain UTF-8 BOM characters especially if blob is not found

Open
#2,603 2 comments 0 reactions 1 assignee Claimed by @jainakanksha-msft View on GitHub
alignment blob-storage pending_for_author_response
Dominant language
TypeScript
Stars
2.3k
Forks
393
Avg merge
1d 20h
Merged PRs (30d)
36

Description

**ISSUE :** The GetBlockList API error response does not include UTF-8 BOM characters when the blob is not found — this behavior is specific to Azurite. In contrast, the actual Azure Blob Storage service includes BOM characters in its error responses.

**Azureite Version:** Tested with latest Azurite.

**Error response snippet -** This is the output of **db** command under windbg

- **3c 3f 78** 6d 6c 20 76 65-72 73 69 6f 6e 3d 22 31 ..
- 20 20 3c 43 6f 64 65 3e-42 6c 6f 62 4e 6f 74 46 BlobNotF
- 6f 75 6e 64 3c 2f 43 6f-64 65 3e 0a 20 20 3c 4d ound
. The speci
- 66 69 65 64 20 62 6c 6f-62 20 64 6f 65 73 20 6e fied blob does n

**Expected response**:

- **ef bb bf** 3c 3f 78 6d 6c-20 76 65 72 73 69 6f 6e ...

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.