commit | 3301f3e5cdecf2439762a678c1c2e9846a41e0f6 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Thu Dec 13 09:05:48 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Dec 13 09:45:16 2018 +0100 |
tree | 9b3688f5472335c0d01541b939bb59b22f23b0b6 | |
parent | b7ea141cbb566c89c42cee71d3fadf1df6138828 [diff] |
BUG/MEDIUM: cli: handle correctly prefix and payload In the master CLI, the commands and the prefix were still parsed and trimmed after the pattern payload. Don't parse anything but the end of a line till we are in payload mode. Put the search of the pattern after the trim so we can use correctly a payload with a command which is prefixed by @.