From 7513a4ca35815f60187b7d33fdd2ee3aa5cb4a2b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 10 Sep 2019 17:16:01 +0200 Subject: [PATCH] luci-base: html escape values in uci changes display Signed-off-by: Jo-Philipp Wich --- modules/luci-base/luasrc/view/admin_uci/changelog.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-base/luasrc/view/admin_uci/changelog.htm b/modules/luci-base/luasrc/view/admin_uci/changelog.htm index 9d6267cf3..051e250db 100644 --- a/modules/luci-base/luasrc/view/admin_uci/changelog.htm +++ b/modules/luci-base/luasrc/view/admin_uci/changelog.htm @@ -48,7 +48,7 @@ return delta[2] end elseif n == "4" then - return util.shellquote(delta[4]) + return pcdata(util.shellquote(delta[4])) else return delta[tonumber(n)] end -- 2.25.1