From: Jo-Philipp Wich Date: Thu, 3 Nov 2011 19:44:17 +0000 (+0000) Subject: modules/admin-full: add missing html escaping for SSID in associated stations table... X-Git-Tag: 0.11.0~1405 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0abb1420e7e03f17ac7d60d6eb7e7aab905da3eb;p=project%2Fluci.git modules/admin-full: add missing html escaping for SSID in associated stations table of wireless overview --- diff --git a/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm b/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm index 44ce5ed9a3..5500224a38 100644 --- a/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm +++ b/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm @@ -300,7 +300,7 @@ $Id$ icon, assoclist[j].signal, assoclist[j].noise ); - tr.insertCell(-1).innerHTML = iw.ssid ? iw.ssid : '?'; + tr.insertCell(-1).innerHTML = String.format('%h', iw.ssid ? iw.ssid : '?'); tr.insertCell(-1).innerHTML = assoclist[j].bssid; tr.insertCell(-1).innerHTML = arptable[assoclist[j].bssid]