luci-mod-network: dhcp.js: relax CNAME domain validation
authorJo-Philipp Wich <jo@mein.io>
Sun, 18 Feb 2024 23:22:38 +0000 (00:22 +0100)
committerPaul Donald <newtwen@gmail.com>
Thu, 7 Mar 2024 00:29:06 +0000 (01:29 +0100)
commit0e01542eeea5be2a817391094154d2db4208e01e
treef9768d41ef442f51698706df70cac7a348782e05
parentf14c04a8978e0d2b21c160bad2afd69502967d83
luci-mod-network: dhcp.js: relax CNAME domain validation

Relax the CNAME domain validation to allow wildcard names.

Fixes: #6801
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit c8cddc35302380882bab910679f717d65f715029)
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js