Our HTTP/2 server implementation currently accepts requests with different value for Host and :authority.
Per RFC 9113, we should probably reject such requests:
Clients MUST NOT generate a request with a Host header field that differs from the ":authority" pseudo-header field. A server SHOULD treat a request as malformed if it contains a Host header field that identifies an entity that differs from the entity in the ":authority" pseudo-header field. The values of fields need to be normalized to compare them (see Section 6.2 of [RFC3986]). An origin server can apply any normalization method, whereas other servers MUST perform scheme-based normalization (see Section 6.2.3 of [RFC3986]) of the two fields.
Our HTTP/2 server implementation currently accepts requests with different value for
Hostand:authority.Per RFC 9113, we should probably reject such requests: