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=14d2f9b216e5c47d3f35850132bcda68e9eacca3;p=oweals%2Fluci.git luci-base: html escape values in uci changes display Signed-off-by: Jo-Philipp Wich (cherry picked from commit 7513a4ca35815f60187b7d33fdd2ee3aa5cb4a2b) --- diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_uci/changelog.htm b/modules/luci-mod-admin-full/luasrc/view/admin_uci/changelog.htm index 9d6267cf3..051e250db 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_uci/changelog.htm +++ b/modules/luci-mod-admin-full/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