]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: h3: forbid 'Z' as well in header field names checks
authorzhanhb <6323014+zhanhb@users.noreply.github.com>
Sat, 27 Sep 2025 15:01:32 +0000 (23:01 +0800)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 2 Oct 2025 13:30:02 +0000 (15:30 +0200)
commitad75431b9c7eb739fa05f748098a9a505cf9c868
treecddcc1332b05fad1f4e23bffc0084c299701e0ce
parent7163d9180cb319db087221a683c0f2d02ffbf0be
BUG/MINOR: h3: forbid 'Z' as well in header field names checks

The current tests in _h3_handle_hdr() and h3_trailers_to_htx() check
for an interval between 'A' and 'Z' for letters in header field names
that should be forbidden, but mistakenly leave the 'Z' out of the
forbidden range, resulting in it being implicitly valid.

This has no real consequences but should be fixed for the sake of
protocol validity checking.

This must be backported to all relevant versions.
src/h3.c