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 1243728..3b1d819 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