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:
parent
4d5c88bf1a
commit
e857b539bc
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ function Graph._generic( self, opts, plugin, plugin_instance, dtype, index )
|
||||||
function __def(source)
|
function __def(source)
|
||||||
|
|
||||||
local inst = source.sname
|
local inst = source.sname
|
||||||
local rrd = source.rrd:gsub(":", "\\:")
|
local rrd = source.rrd
|
||||||
local ds = source.ds
|
local ds = source.ds
|
||||||
|
|
||||||
if not ds or ds:len() == 0 then ds = "value" end
|
if not ds or ds:len() == 0 then ds = "value" end
|
||||||
|
|
Loading…
Reference in a new issue