]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mworker/cli: fix the escaping in the master CLI
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 18 Jun 2020 16:03:57 +0000 (18:03 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 19 Jun 2020 12:32:55 +0000 (14:32 +0200)
commitfe249c3df53127d53d55c3fda8e6be7f22cfa58b
treeba7e977359cb7c6e9d93d5487f244aa10dc161e7
parentb08c6d06e712b148bf396dcf13f7da590a6104c9
BUG/MINOR: mworker/cli: fix the escaping in the master CLI

The master CLI must not do the escaping since it forwards the commands
to another CLI. It should be able to split into words by taking care of
the escaping, but must not remove the forwarded backslashes.

This fix do the same thing as the previous patch applied to the
cli_parse_request() function, by taking care of the escaping during the
word split, but it also remove the part which was removing the
backslashes from the forwarded command.
src/cli.c