luci-app-upnp: escape map title
authorJo-Philipp Wich <jo@mein.io>
Sat, 8 Feb 2020 10:24:51 +0000 (11:24 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sat, 8 Feb 2020 10:24:51 +0000 (11:24 +0100)
Fixes: #3597
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js

index b85fd6d9dfa11e09ad1e6a11cdcc44810a3c13d7..cfd1e3508a95750386f1b4839205321511fa9aae 100644 (file)
@@ -69,7 +69,7 @@ return L.view.extend({
 
                var m, s, o;
 
-               m = new form.Map('upnpd', _('Universal Plug & Play'),
+               m = new form.Map('upnpd', [_('Universal Plug & Play')],
                        _('UPnP allows clients in the local network to automatically configure the router.'));
 
                s = m.section(form.GridSection, '_active_rules');