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 <philip.l.mcmahon@gmail.com>
This commit is contained in:
Philip L. McMahon 2020-08-07 21:20:23 -07:00
parent 4d5c88bf1a
commit e857b539bc

View file

@ -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