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

Enforce restrictions on request-target formats #1279

Closed
natemcmaster opened this issue Jan 4, 2017 · 0 comments
Closed

Enforce restrictions on request-target formats #1279

natemcmaster opened this issue Jan 4, 2017 · 0 comments
Assignees

Comments

@natemcmaster
Copy link
Contributor

natemcmaster commented Jan 4, 2017

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:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants