BUG/MEDIUM: h3: trim whitespaces when parsing headers value
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 16 Apr 2025 13:47:42 +0000 (15:47 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 17 Apr 2025 12:47:02 +0000 (14:47 +0200)
commitc76eff8ecd4853960e57f081fcfddbd87b8d666d
treedd62f6b7d03ca4f9d73011fbf5ebd71c58091c5e
parent0c415db088c52ff43620c60d2ed5dea7d3017969
BUG/MEDIUM: h3: trim whitespaces when parsing headers value

Remove any leading and trailing whitespace from header field values
prior to inserting a new HTX header block. This is done when parsing a
HEADERS frame, both as headers and trailers.

This must be backported up to 2.6.

(cherry picked from commit a17e5b27c03230cc65ebedc6dc28dbfce5181c79)
Signed-off-by: Aurelien DARRAGON <adarragon@haproxy.com>
src/h3.c