]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: sample: Test the behavior of consecutive delimiters for the field converter
authorTim Duesterhus <tim@bastelstu.be>
Thu, 30 Nov 2023 15:41:16 +0000 (16:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Dec 2023 13:35:47 +0000 (14:35 +0100)
This is in preparation of a follow-up patch to fix the word converter.

reg-tests/converter/field.vtc

index 1243728c0118c63f898f6f1f1d0b6480f5915241..3b1d8198e36b203e891e03cf7942a9118d56cb85 100644 (file)
@@ -32,6 +32,10 @@ client c1 -connect ${h1_fe_sock} {
        rxresp
        expect resp.status == 200
        expect resp.http.found == "bar"
+       txreq -url "/foo//bar/baz"
+       rxresp
+       expect resp.status == 200
+       expect resp.http.found == ""
        txreq -url "/foo"
        rxresp
        expect resp.status == 200