summaryrefslogtreecommitdiffstats
path: root/tools/templates/core_pkg/kernel
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-10-20 17:34:44 +0930
committerGitHub <noreply@github.com>2016-10-20 17:34:44 +0930
commiteb01f06578294d13cd3450e8b882d627b1528a35 (patch)
treed80566c80e3de52a316659e785ac7b510bf0ec0b /tools/templates/core_pkg/kernel
parentc982fdbc32ebe374e2f68ac79019aa7cf54d6b55 (diff)
downloadpfsense-eb01f06578294d13cd3450e8b882d627b1528a35.zip
pfsense-eb01f06578294d13cd3450e8b882d627b1528a35.tar.gz
Improve IPv4 address validation for services_dhcp
The input pattern that goes with Form_IpAddress by default allows for IPv4 and IPv6 valid characters. The back-end validation here is checking for IPv4 addresses, so it seems reasonable that the front-end input pattern checks might as well be restricted to the IPv4 valid characters. Unneeded setPattern have also been removed. The exception is Gateway, where the special string "none" is allowed, so I just left the setPattern as it is (yes, it could be modified to only allow the letters "n" "o" and "e").
Diffstat (limited to 'tools/templates/core_pkg/kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud