commit | 02c255e64bd528dfa9f77dc15912d692c2213cc5 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Thu Jun 18 18:45:04 2020 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Fri Jun 19 14:32:55 2020 +0200 |
tree | 0e0ccb92e669a1f5541eb1ff724379f697259f87 | |
parent | fe249c3df53127d53d55c3fda8e6be7f22cfa58b [diff] |
BUG/MINOR: mworker/cli: fix semicolon escaping in master CLI Fix the semicolon escaping which must be handled in the master CLI, the commands were wrongly splitted and could be forwarded partially to the target CLI.
diff --git a/src/cli.c b/src/cli.c index 36438c7..b8fac13 100644 --- a/src/cli.c +++ b/src/cli.c
@@ -2034,7 +2034,7 @@ while (p+reql < end) { /* handle escaping */ if (p[reql] == '\\') { - reql++; + reql+=2; continue; } if (p[reql] == ';' || p[reql] == '\n') {