fast-proxy icon indicating copy to clipboard operation
fast-proxy copied to clipboard

fix: adding Host header value validation on proxy

Open jkyberneees opened this issue 4 years ago • 2 comments

This PR fixes/add first level of validation to the Host header value. Without this check, the proxy would throw an internal error if the Host header is missing.

A Host header field must be sent in all HTTP/1.1 request messages. A 400 (Bad Request) status code may be sent to any HTTP/1.1 request message that lacks a Host header field or that contains more than one.

Checklist

jkyberneees avatar Oct 03 '21 08:10 jkyberneees

cc @osvaldo2627

jkyberneees avatar Oct 03 '21 08:10 jkyberneees

Any update on this?

Eomm avatar Oct 26 '22 06:10 Eomm