modules/admin-full: add missing html escaping for SSID in associated stations table...
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 3 Nov 2011 19:44:17 +0000 (19:44 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 3 Nov 2011 19:44:17 +0000 (19:44 +0000)
modules/admin-full/luasrc/view/admin_network/wifi_overview.htm

index 44ce5ed9a354070c32b753e7a74adc36426845c1..5500224a38dd239e86fa3dadb900c1965e93d69c 100644 (file)
@@ -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]