mirror of
https://github.com/openwrt/luci.git
synced 2026-06-20 05:41:17 +04:00
2a84e490e1
mandate proper firewall compliant zone names. Use
validation ucifw4zonename instead of uciname. The former
does not permit leading digits which
Now we only permit "*" if flags .allowany and .nocreate are
set. This is when the widget is used to select pre-existing
zones and the zone 'any' ("*") is added as a .value.
Creating a zone named "*" shall not be allowed.
Signed-off-by: Paul Donald <newtwen+github@gmail.com>