Actions
Bug #6806
closedForm validation for DHCP NTP Servers does not allow hyphens
Start date:
09/21/2016
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3.2
Affected Architecture:
Description
Form validation in the dashboard does not use the proper regex for FQDNs (it doesn't allow hyphens)
<input class="form-control" name="ntp2" id="ntp2" value="1.north-america.pool.ntp.org" pattern="[.a-zA-Z0-9_]+" type="text">
While we're on it, the underscore should probably be removed as underscores are not allowed in hostnames or FQDNs (RFC 1123)
<input class="form-control" name="ntp2" id="ntp2" value="1.north-america.pool.ntp.org" pattern="[.a-zA-Z0-9-]+" type="text">
Files
Actions