]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: h3: strengthen host/authority header parsing
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 9 Oct 2023 14:14:44 +0000 (16:14 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 11 Oct 2023 12:21:30 +0000 (14:21 +0200)
commitdc750817c525be4aa9bf0126e65bcf14f327212a
treed3ba774ce377a7506354502375eb9769ff613522
parent9d905dfd73f3b5025ba0bd3ede0713fad2df826e
BUG/MINOR: h3: strengthen host/authority header parsing

HTTP/3 specification has several requirement when parsing authority or
host header inside a request. However, it was until then only partially
implemented.

This commit fixes this by ensuring the following :
* reject an empty authority/host header
* reject a host header if an authority was found with a different value
* no authority neither host header present

This must be backported up to 2.6.
src/h3.c