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:53:15 +0000 (14:53 +0200)
commit8a286b2e0495bc4d14ba408646d974c0485d511a
treece0cfd84984dfae941842ede25da96e55b947604
parent87f3c100f190c97a21d362bf04d8339b79c9ca8b
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>
(cherry picked from commit c76eff8ecd4853960e57f081fcfddbd87b8d666d)
Signed-off-by: Aurelien DARRAGON <adarragon@haproxy.com>
src/h3.c