commit | ce1ef4df0135f9dc1cb6691395eacb487015fe3e | [log] [tgz] |
---|---|---|
author | Cyril Bonté <cyril.bonte@free.fr> | Thu Nov 26 21:39:56 2015 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Nov 26 23:51:42 2015 +0100 |
tree | 993629855637459c747bd9c441f144554133aa88 | |
parent | a1c2b2c4f3e65d198a0a4b25a4f655f7b307a855 [diff] |
BUG/MEDIUM: sample: urlp can't match an empty value Currently urlp fetching samples were able to find parameters with an empty value, but the return code depended on the value length. The final result was that acls using urlp couldn't match empty values. Example of acl which always returned "false": acl MATCH_EMPTY urlp(foo) -m len 0 The fix consists in unconditionally return 1 when the parameter is found. This fix must be backported to 1.6 and 1.5.