]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stats: escape some strings in the CSV dump
authorThierry FOURNIER <tfournier@haproxy.com>
Thu, 28 May 2015 14:02:01 +0000 (16:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 28 May 2015 15:49:50 +0000 (17:49 +0200)
commitbe1ccaea927d17e9019424c074b7aa250a6fe641
treeff852169d5d2fcf5170b0baa5e77e9b598e09840
parentddea626de4cf8397cd84c1db84579d01c296de05
MEDIUM: stats: escape some strings in the CSV dump

Some strings which must be dumped in the CSV output can contain one of
the following chars : <,>, <">, or CR/LF. This patch escapes these
strings if the case is encountered.
src/dumpstats.c