]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: sample: Make the `field` converter compatible with `-m found`
authorTim Duesterhus <tim@bastelstu.be>
Wed, 16 Oct 2019 13:11:15 +0000 (15:11 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 21 Oct 2019 13:49:42 +0000 (15:49 +0200)
commit4381d26edc03faa46401eb0fe82fd7be84be14fd
treea7b3d4fe28b0e13baf9cd0a48b93154c62c7aa8d
parentd1d1e229453a492a538245f6a72ba6929eca9de1
BUG/MINOR: sample: Make the `field` converter compatible with `-m found`

Previously an expression like:

    path,field(2,/) -m found

always returned `true`.

Bug exists since the `field` converter exists. That is:
f399b0debfc6c7dc17c6ad503885c911493add56

The fix should be backported to 1.6+.
reg-tests/converter/field.vtc [new file with mode: 0644]
src/sample.c