diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-11-15 07:14:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-15 07:14:06 +0100 |
commit | a57ba0083ec65aa112f2590a9078845da56aa7e3 (patch) | |
tree | ac34b2666f9a62aa344dcee5c9fdfb1f1d579212 /applications/luci-app-statistics/luasrc | |
parent | 6bc04b6afb1332473e8283fa2f9517db0816cb23 (diff) | |
parent | 1bbc419e7aa4f3d9e9a269a87a8f5c191440f78b (diff) |
Merge pull request #2286 from kevinoid/fix_statistics_filename_quoting
luci-app-statistics: quote : in filenames for DEF
Diffstat (limited to 'applications/luci-app-statistics/luasrc')
-rw-r--r-- | applications/luci-app-statistics/luasrc/statistics/rrdtool.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool.lua index 47e1696ece..f543e67599 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 + local rrd = source.rrd:gsub(":", "\\:") local ds = source.ds if not ds or ds:len() == 0 then ds = "value" end |