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

Enforce restrictions on request-target formats #1279

@natemcmaster

Description

@natemcmaster

We currently accept some malformed requests that are not adherent to the HTTP/1.1 spec.

Example:

  • relative paths GET ../../ HTTP/1.1 is not a valid format at all. Should be rejected.
  • authority-form GET www.contoso.com HTTP/1.1 is invalid, but Kestrel will accept anyways.
  • asterisk-form GET * HTTP/1.1 is invalid, but Kestrel will accept anyways.

Restrictions on request-target that are not currently enforced:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions