diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-03-22 09:49:52 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-04-04 23:21:53 +0200 |
commit | 70ffbe65a0d9e8a77c9d3bafc34ddd260490c541 (patch) | |
tree | 8f44dc5d7fb0f9c5caa361e2a5af94e6da20b97d /modules/luci-mod-admin-full/luasrc/model | |
parent | 4024d4f2242a88a5e9fd18ed437b1c9fd13693f9 (diff) |
luci-base: add a strict flag to the hostname validator
Some applications, e.g. dnsmasq, do not allow hostnames starting with an
underscore, therefor extend the existing hostname datatype validator with
a `strict` which disallows a leading underscore.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-admin-full/luasrc/model')
0 files changed, 0 insertions, 0 deletions