Azure / Azure/Azurite

Validate date header?

Open
#459 3 comments 0 reactions 1 assignee Claimed by @blueww View on GitHub
bug NewArch
Dominant language
TypeScript
Stars
2.3k
Forks
393
Avg merge
1d 20h
Merged PRs (30d)
36

Description

### Which service(blob, file, queue, table) does this issue concern?

blob

### Which version of the Azurite was used?

2020.04 Version 3.7.0

### Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)

DockerHub

### What problem was encountered?

Azurite does not validate the `Date` header.

### Steps to reproduce the issue?

Create a request with a `Date: BOGUS` header. The request will succeed.

### Have you found a mitigation/solution?

The Azure blob service requires `RFC-2822` formatted dates and will error if the date is not formatted appropriately. It would be ideal if Azurite did the same validation since it is often used for testing before moving to production.

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.