Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

GetCommaSeparatedValues should strip out empty strings #722

Closed
@JunTaoLuo

Description

@JunTaoLuo

We should ignore empty headers since they are not meaningful. Currently, parsing ,, will generate three empty strings {string[3]}: {"","",""}. We should instead check whether the parsed values are empty here: https://github.com/aspnet/HttpAbstractions/blob/dev/src/Microsoft.AspNetCore.Http.Abstractions/Internal/ParsingHelpers.cs#L29

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions