]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: h3: reject invalid :path in request
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 16 Apr 2025 09:17:20 +0000 (11:17 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 16 Apr 2025 16:31:55 +0000 (18:31 +0200)
commitfc28fe7191701251115e817a7c4a673b88e49f65
treeb5052cbcdc0247723bd1400c8adbea9260059778
parent6403bfbce8ea54ba83e23d34c5d52ff10fa7fe22
BUG/MINOR: h3: reject invalid :path in request

RFC 9114 specifies some requirements for :path pseudo-header when using
http or https scheme. This commit enforces this by rejecting a request
if needed. Thus, path cannot be empty, and it must either start with a
'/' character or contains only '*'.

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