BUG/MINOR: cli: allow space escaping on the CLI
authorYves Lafon <ylafon@w3.org>
Mon, 8 Jun 2020 14:08:06 +0000 (16:08 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 3 Jul 2020 17:03:54 +0000 (19:03 +0200)
commit94612ca539faeefb26307fd219cc765dc61d09ae
tree2d7689531c5239e579e971c132e482902a928e3b
parent52d4af0accaa9440c0434387ec29beac1816fdd0
BUG/MINOR: cli: allow space escaping on the CLI

It was not possible to escape spaces over the CLI, making impossible the
insertion of new ACL entries with spaces from the CLI.

This patch fixes the escaping of spaces over the CLI.

It is now possible to launch "add acl agents.acl My\ User\ Agent" over
the CLI.

Could be backported in all stable branches.

Should fix issue #400.

(cherry picked from commit b08c6d06e712b148bf396dcf13f7da590a6104c9)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/cli.c