From: Jo-Philipp Wich Date: Sat, 7 Apr 2018 09:43:44 +0000 (+0200) Subject: luci-base: escape path strings and field parameter X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=5c31937a0f0bf8fa2f0161cadae9688fff9c227e luci-base: escape path strings and field parameter Prevent various XSS vectors by not interpolating field and path values verbatim into script and html contexts. Signed-off-by: Jo-Philipp Wich --- diff --git a/modules/luci-base/luasrc/view/cbi/filebrowser.htm b/modules/luci-base/luasrc/view/cbi/filebrowser.htm index a79beebba..806b1b5f4 100644 --- a/modules/luci-base/luasrc/view/cbi/filebrowser.htm +++ b/modules/luci-base/luasrc/view/cbi/filebrowser.htm @@ -22,9 +22,9 @@