From e857b539bcfd85a26b3b1b1453a6e69600721dc4 Mon Sep 17 00:00:00 2001 From: "Philip L. McMahon" Date: Fri, 7 Aug 2020 21:20:23 -0700 Subject: [PATCH] luci-app-statistics: remove rrd path double escape Fixes rendering errors when RRD file names contain IPv6 addresses and the colon (":") characters are double-escaped. Reverts escaping added in #2286 in favor of escaping added in #2657. Signed-off-by: Philip L. McMahon --- applications/luci-app-statistics/luasrc/statistics/rrdtool.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool.lua index c4ea88de92..d3b5b06370 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool.lua @@ -136,7 +136,7 @@ function Graph._generic( self, opts, plugin, plugin_instance, dtype, index ) function __def(source) local inst = source.sname - local rrd = source.rrd:gsub(":", "\\:") + local rrd = source.rrd local ds = source.ds if not ds or ds:len() == 0 then ds = "value" end -- 2.30.2