BUG/MEDIUM: h3: trim whitespaces in header value prior to QPACK encoding
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 16 Apr 2025 15:29:41 +0000 (17:29 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 17 Apr 2025 12:47:15 +0000 (14:47 +0200)
commita4f7bfa029ada954c8fae75c1426555a3a4012d4
treedd292e95cf4a310d76b64ab44a33d76121f71875
parentc76eff8ecd4853960e57f081fcfddbd87b8d666d
BUG/MEDIUM: h3: trim whitespaces in header value prior to QPACK encoding

This commit does a similar job than the previous one, but it acts now on
the response path. Any leading or trailing whitespaces characters from a
HTX block header value are removed, prior to the header encoding via
QPACK.

This must be backported up to 2.6.

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