From 5d7dc391d4af4ad5dd6d7e1f6ef9891aa21fd220 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 15 Mar 2020 17:48:40 +0100 Subject: [PATCH] themes: ensure that data-page attribute is escaped Fixes: #3757 Signed-off-by: Jo-Philipp Wich --- .../luasrc/view/themes/bootstrap/header.htm | 2 +- .../luci-theme-material/luasrc/view/themes/material/header.htm | 2 +- .../luasrc/view/themes/openwrt.org/header.htm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 -"> +">