Is there an existing issue for this?
Describe the bug
There are known clients that send the request with the full url in the request line, but then also include a malformed Host header that doesn't match. IIS/Http.Sys ignores the invalid host in this scenario, Kestrel rejects it.
Expected Behavior
Ignore the invalid/mismatched Host header.
Steps To Reproduce
GET http://www.foo.com/api/data HTTP/1.1
HOST: www.foo.comConnection: …
Produces a "400 Bad Request".
Exceptions (if any)
No response
.NET Version
6.0
Anything else?
No response