luci-base: tools.widget.NetworkSelect: disallow invalid network names
authorJo-Philipp Wich <jo@mein.io>
Fri, 6 Nov 2020 23:40:31 +0000 (00:40 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 6 Nov 2020 23:42:58 +0000 (00:42 +0100)
commit69d668c46581f4a04c934e5de0542b0ff929bb60
tree0ce0e7886a1c801246f05ca44e2d181cf8a90f27
parentabf69501ab48032b34b8e1d8cf5449a98d8ce8bb
luci-base: tools.widget.NetworkSelect: disallow invalid network names

Fixes: #4523, #4573
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 2b99473f2cd3321ecf96e92606c3263c2941eb7b)
modules/luci-base/htdocs/luci-static/resources/tools/widgets.js