summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-04-09 14:09:39 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-04-09 14:09:39 +0000
commit59a3cf86050753ae63aa44a9b1b5d6931ff86887 (patch)
treedcc1aaf33a227ed40f078dd6989e9816172c8cb2 /applications
parent0acedfff3eef973b011eab71801124d4891a9eed (diff)
applications/luci-livestats: properly escape essids (closes OpenWrt ticket #4888)
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-livestats/luasrc/view/livestats/wireless.htm4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-livestats/luasrc/view/livestats/wireless.htm b/applications/luci-livestats/luasrc/view/livestats/wireless.htm
index 670d9fbf6..ca384b2f7 100644
--- a/applications/luci-livestats/luasrc/view/livestats/wireless.htm
+++ b/applications/luci-livestats/luasrc/view/livestats/wireless.htm
@@ -26,8 +26,8 @@
padding: { left: 40, right: 10, top: 10, bottom: 20 },
instanceNames: {
<%- for k,v in pairs(luci.sys.wifi.getiwconfig()) do %>
- <%-="%q:%q," % {k, "%s (%s)" % {k, tostring(v.ESSID)}}-%>
- <% end %>
+ <%-="%q:%q," % {k, "%s (%s)" % {k, luci.util.pcdata(tostring(v.ESSID))}}-%>
+ <% end %>
"0": ""
}},
null,