]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http-htx: Don't consider an URI as normalized after a set-uri action
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 22 Nov 2022 14:41:48 +0000 (15:41 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 22 Nov 2022 16:49:10 +0000 (17:49 +0100)
commit84cdbe478a82afdcaf4f049e8ed431ca349c6ba2
tree9c9d94a65f441bf716a3d1f64d44b28b733f7108
parent1c52121e6d19024a8faf7c660e42d670ea0f6383
BUG/MINOR: http-htx: Don't consider an URI as normalized after a set-uri action

An abosulte URI is marked as normalized if it comes from an H2 client. This
way, we know we can send a relative URI to an H1 server. But, after a
set-uri action, the URI must no longer be considered as normalized.
Otherwise there is no way to send an absolute URI on the server side.

If it is important to update a normalized absolute URI without altering this
property, the host, path and/or query-string must be set separatly.

This patch should fix the issue #1938. It should be backported as far as
2.4.
doc/configuration.txt
src/http_htx.c