From 4d8cb845f98690186c907b1099a86e742ed4dfc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karsten=20B=C3=B6ddeker?= <freifunk@kb-light.de> Date: Fri, 30 Dec 2016 00:40:42 +0100 Subject: [PATCH] ffho-status-page: fix list of mesh interfaces --- .../luasrc/lib/gluon/status-page/www/cgi-bin/status | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ffho/ffho-status-page/luasrc/lib/gluon/status-page/www/cgi-bin/status b/ffho/ffho-status-page/luasrc/lib/gluon/status-page/www/cgi-bin/status index 8e6e1d4..c20136f 100755 --- a/ffho/ffho-status-page/luasrc/lib/gluon/status-page/www/cgi-bin/status +++ b/ffho/ffho-status-page/luasrc/lib/gluon/status-page/www/cgi-bin/status @@ -158,8 +158,8 @@ io.write("<pre>") local iface = false for _, line in ipairs(util.split(util.exec("batctl if"))) do if not line:match("^primary0") then - io.write(line) - iface = true + io.write(escape_html(line) .. '\n') + iface = true end end if not iface then -- GitLab