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=06884b9502d74239aea6ed6c7cf55c27fd9554da;p=oweals%2Fluci.git themes: ensure that data-page attribute is escaped Fixes: #3757 Signed-off-by: Jo-Philipp Wich (cherry picked from commit 5d7dc391d4af4ad5dd6d7e1f6ef9891aa21fd220) --- 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 de1fd73f0..d6910af7e 100644 --- a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm +++ b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm @@ -151,7 +151,7 @@ - "> + ">
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 76eeec05e..e6cec4ad1 100644 --- a/themes/luci-theme-material/luasrc/view/themes/material/header.htm +++ b/themes/luci-theme-material/luasrc/view/themes/material/header.htm @@ -181,7 +181,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 fbe030d18..e5a69f8a6 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 @@ -187,7 +187,7 @@ //]]> <%=striptags( (boardinfo.hostname or "?") .. ( (node and node.title) and ' - ' .. translate(node.title) or '')) %> - LuCI -"> +">