From: Jo-Philipp Wich Date: Tue, 10 Sep 2019 15:16:01 +0000 (+0200) Subject: luci-base: html escape values in uci changes display X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7513a4ca35815f60187b7d33fdd2ee3aa5cb4a2b;p=oweals%2Fluci.git luci-base: html escape values in uci changes display Signed-off-by: Jo-Philipp Wich --- 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