firewall: ipsets.js: validate set names
authorJo-Philipp Wich <jo@mein.io>
Thu, 12 Oct 2023 07:38:46 +0000 (09:38 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 12 Oct 2023 07:39:53 +0000 (09:39 +0200)
commit755edf6fbf65fa2f6b778e7edfd8b56fd1742f70
treef19dcc920fa99179905639a39a271f3e549db707
parent4798cb4aa37749678ec9f02fc071670b0528a0c0
firewall: ipsets.js: validate set names

Ensure that user supplied set name values conform to the nftables identifier
syntax constraints.

Fixes: #6633
Fixes: 0484343903 ("luci-app-firewall: implement IPsets GUI")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js