commit | ed2c662b01c40e874870330d74b78adf725abbd2 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Feb 14 18:27:10 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Feb 14 19:02:06 2020 +0100 |
tree | 43fa2f2b188d7540646949ace15dcc000f91fd13 | |
parent | d4ad66905188ade3fcf53c84c43abc64154b3f70 [diff] |
MINOR: sample/acl: use is_idchar() to locate the fetch/conv name Instead of scanning a string looking for an end of line, ')' or ',', let's only accept characters which are actually valid identifier characters. This will let the parser know that in %[src], only "src" is the sample fetch name, not "src]". This was done both for samples and ACLs since they are the same here.