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:57:03 +0000 (14:57 +0200)
commit3a7d58305f8b9680e3a3b1e11944a83b28a0fc41
tree76c8cc409b2bae2f22d09d68e71bbcffeccd13aa
parent8a286b2e0495bc4d14ba408646d974c0485d511a
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>
(cherry picked from commit a4f7bfa029ada954c8fae75c1426555a3a4012d4)
[ada: ctx adjt]
Signed-off-by: Aurelien DARRAGON <adarragon@haproxy.com>
src/h3.c