]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTEST: Fix format of set-uri HTTP request rule in h1or2_to_h1c.vtc
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 17 Jan 2020 22:21:59 +0000 (23:21 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Jan 2020 14:18:45 +0000 (15:18 +0100)
commit95d169ba9a64fa8e160c6806725329df67499e5e
treead72f050b2f29f1c64daf27afb776d220e598193
parent1aea50e1ff886de15948c8fbe91b8c88f89dd83e
REGTEST: Fix format of set-uri HTTP request rule in h1or2_to_h1c.vtc

First, concat() is a converter, not a sample fetch. So use str() sample fetch
with no string and call concat on it. Then, the argument of the set-uri rule
must be a log format string. So it must be inside %[] to be evaluated.
reg-tests/http-rules/h1or2_to_h1c.vtc