]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
Add escapeJSON() to legend entries
authorWolfgang Stöggl <c72578@yahoo.de>
Tue, 13 Jul 2021 18:23:54 +0000 (20:23 +0200)
committerWolfgang Stöggl <c72578@yahoo.de>
Tue, 13 Jul 2021 18:23:54 +0000 (20:23 +0200)
commit951d91ecb7ae7a1bdcb9b35bc5713716fef6c9fd
treede5f61dbe07c82e881101060eaa05dc52c325a7e
parent3457ff77f6d80f61d0779055b6b77202cfdf46de
Add escapeJSON() to legend entries

Double quotes in legends are currently not escaped, if JSON imgformat
is used for rrdtool graph. This produces invalid JSON files.
See comment in #409 for further details.
src/rrd_xport.c