From 7fd017d83d7507487342ab80b8782098a5554896 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 15 Nov 2019 18:51:30 +0100 Subject: [PATCH] luci-mod-status: ensure comment escaping in iptables status output Signed-off-by: Jo-Philipp Wich (cherry picked from commit b3ef7a17eacc6ce2f2385bbb517c67906dd2a753) --- .../htdocs/luci-static/resources/view/status/iptables.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js index a742243a0..eaeba578f 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js @@ -194,7 +194,7 @@ function parse_output(table, s) srcnet, dstnet, options, - comment + [ comment ] ]); if (target) { -- 2.25.1