]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h2: strip the userinfo when deriving :authority for a server
authorWilly Tarreau <w@1wt.eu>
Thu, 6 Aug 2026 08:03:28 +0000 (10:03 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 7 Aug 2026 14:06:19 +0000 (16:06 +0200)
commit29fa2667a00a75d3b26bba6ec5bd870e941e95d2
treee7d39cc4252d5fa3a4c99572f54234584eeb8538
parent7a78d6c600a3ab4bd3847fee90f204d976cd360a
BUG/MINOR: mux-h2: strip the userinfo when deriving :authority for a server

The H2 mux properly drops userinfo from authority on input but doesn't
drop it on output if present on input (e.g. coming from H1), which will
cause a bad request when reaching a compliant H2 server such as itself.
Let's make sure it is properly dropped there as well, as required by
RFC9113. This should be backported to all stable versions.

Reported-by: Claude (ANT-2026-R03JNY63)
src/mux_h2.c