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: http://git.openwrt.org/?a=commitdiff_plain;h=5d7dc391d4af4ad5dd6d7e1f6ef9891aa21fd220;p=project%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 56a1b230e4..b9e1fbcdb6 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 7541d048c0..124314039a 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 a5e64cac5a..f691e7066d 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 -"> +">