]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: Escape equals sign on socket dump
authorChad Lavoie <clavoie@haproxy.com>
Tue, 4 Oct 2016 20:10:40 +0000 (16:10 -0400)
committerWilly Tarreau <w@1wt.eu>
Tue, 25 Oct 2016 20:15:22 +0000 (22:15 +0200)
commit1666930f031c5075d305cb58b5a06f8fc5e82089
tree2e9d529b9f6dc4c2cb52b428e212f87bc3c3f91f
parent3a2661d6b4218704c828c8a712c87d651bfe29b5
MINOR: stats: Escape equals sign on socket dump

Greetings,

Was recently working with a stick table storing URL's and one had an
equals sign in it (e.g. 127.0.0.1/f=ab) which made it difficult to
easily split the key and value without a regex.

This patch will change it so that the key looks like
"key=127.0.0.1/f\=ab" instead of "key=127.0.0.1/f=ab".

Not very important given that there are ways to work around it.

Thanks,

- Chad
src/dumpstats.c