luci-app-statistics - allow rrd files to contain : 2657/head
authorMartin Surovcak <martin@surovcak.cz>
Wed, 3 Apr 2019 22:32:13 +0000 (00:32 +0200)
committerMartin Surovcak <martin@surovcak.cz>
Wed, 3 Apr 2019 22:36:05 +0000 (00:36 +0200)
commit7bab4a3ef23397991c7f2296508cd52be20b4e49
treec55e200c3c2ad41d675a47c4119e50995c52dca3
parentd679b93bad9ce0ee529b78c791de39a751a78006
luci-app-statistics - allow rrd files to contain :

Fixes situations where RRD file name contains ":" (eg. _ping/ipv6_) in `rrdtool` it's unescaped - thus not able to render image. Adding simple escaping of `:` to `\\:` fixes the situation.

Might be a solution for #958.
applications/luci-app-statistics/luasrc/statistics/rrdtool.lua