From: Jo-Philipp Wich Date: Sun, 15 Mar 2020 16:48:40 +0000 (+0100) Subject: themes: ensure that data-page attribute is escaped X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5d7dc391d4af4ad5dd6d7e1f6ef9891aa21fd220;p=oweals%2Fluci.git themes: ensure that data-page attribute is escaped Fixes: #3757 Signed-off-by: Jo-Philipp Wich --- diff --git a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm index 56a1b230e..b9e1fbcdb 100644 --- a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm +++ b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm @@ -40,7 +40,7 @@ <% include("themes/bootstrap/json-menu") %> - "> + ">
diff --git a/themes/luci-theme-material/luasrc/view/themes/material/header.htm b/themes/luci-theme-material/luasrc/view/themes/material/header.htm index 7541d048c..124314039 100644 --- a/themes/luci-theme-material/luasrc/view/themes/material/header.htm +++ b/themes/luci-theme-material/luasrc/view/themes/material/header.htm @@ -184,7 +184,7 @@ })(); //]]> -"> +">
diff --git a/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm b/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm index a5e64cac5..f691e7066 100644 --- a/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm @@ -188,7 +188,7 @@ //]]> <%=striptags( (boardinfo.hostname or "?") .. ( (node and node.title) and ' - ' .. translate(node.title) or '')) %> - LuCI -"> +">