]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: h3: reject request URI with invalid characters
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 16 Apr 2025 13:27:03 +0000 (15:27 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 16 Apr 2025 16:32:00 +0000 (18:32 +0200)
commit1faa1285aacaaacd2c2e062d87f04aa481843862
treeea8615414ffc83fcf2f2473fe1f3264da08d0fc0
parentfc28fe7191701251115e817a7c4a673b88e49f65
BUG/MINOR: h3: reject request URI with invalid characters

Ensure that the HTX start-line generated after parsing an HTTP/3 request
does not contain any invalid character, i.e. control or whitespace
characters.

Note that for now path is used directly as URI. Thus, the check is
performed directly over it. A patch will change this to generate an
absolute-form URI in most cases, but it won't be backported to avoid
configuration breaking in stable versions.

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