From 0abb1420e7e03f17ac7d60d6eb7e7aab905da3eb Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 3 Nov 2011 19:44:17 +0000 Subject: [PATCH] modules/admin-full: add missing html escaping for SSID in associated stations table of wireless overview --- modules/admin-full/luasrc/view/admin_network/wifi_overview.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- 2.30.2