diff options
author | Roman Arutyunyan <arut@nginx.com> | 2025-06-26 20:19:59 +0400 |
---|---|---|
committer | Roman Arutyunyan <arutyunyan.roman@gmail.com> | 2025-07-24 20:15:55 +0400 |
commit | 4da771108282cd233ddc37f83ba8bd01981beeb7 (patch) | |
tree | 1543e2612cf464f8bced1ff4327ffd76923f4c33 /src/imap/ngx_imap_proxy.c | |
parent | 3739fe94d1c3c844708b219776f1921bff16b56f (diff) | |
download | nginx-master.tar.gz nginx-master.zip |
RFC 9114, Section 4.3.1. specifies a restriction for :authority and Host
coexistence in an HTTP/3 request:
: If both fields are present, they MUST contain the same value.
Previously, this restriction was correctly enforced only for portless
values. When Host contained a port, the request failed as if :authority
and Host were different, regardless of :authority presence.
This happens because the value of r->headers_in.server used for :authority
has port stripped. The fix is to use r->host_start / r->host_end instead.
Diffstat (limited to 'src/imap/ngx_imap_proxy.c')
0 files changed, 0 insertions, 0 deletions