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
Updated by Edward Hurtig about 8 years ago
https://github.com/pfsense/pfsense/pull/3151 (CLA was just signed so might not be labeled appropriately yet)
Updated by Anonymous about 8 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset c68dbfc7580180cd9d47bdbecaeeb6cf835fe210.
Updated by Jim Pingle almost 8 years ago
- Assignee set to Edward Hurtig
- Target version set to 2.3.3
Actions