aboutsummaryrefslogtreecommitdiff
path: root/src/imap/ngx_imap_proxy.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2025-06-26 20:19:59 +0400
committerRoman Arutyunyan <arutyunyan.roman@gmail.com>2025-07-24 20:15:55 +0400
commit4da771108282cd233ddc37f83ba8bd01981beeb7 (patch)
tree1543e2612cf464f8bced1ff4327ffd76923f4c33 /src/imap/ngx_imap_proxy.c
parent3739fe94d1c3c844708b219776f1921bff16b56f (diff)
downloadnginx-master.tar.gz
nginx-master.zip
HTTP/3: fixed handling of :authority and Host with port.HEADmaster
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