Bug #3697
Field Validations Should be more Comprehensive
Description
Hostnames:
should be validated against http://tools.ietf.org/html/rfc1123
e.g. if user creates hostname with a _, which foreman allows, will
cause problems alter during provisioning
IP Addresses:
validation should be extended to check if each octet is < 255
Related issues
Associated revisions
History
#1
Updated by Dominic Cleal over 8 years ago
- Related to Feature #3701: Fail if a hostname has a dot in it added
#2
Updated by Dominic Cleal over 8 years ago
- Category set to Rails
- Status changed from New to Ready For Testing
- Target version set to 1.9.2
- Legacy Backlogs Release (now unused) set to 2
#3
Updated by Anonymous over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 4bae5cedb8ab562b6c397234c5cb1cfd604fde74.
#4
Updated by Dominic Cleal over 8 years ago
- Related to Bug #4519: Renaming host with / in name causes "No route matches" error added
#5
Updated by Dominic Cleal about 8 years ago
- Has duplicate Bug #3156: Foreman allows underscores in hostnames added
fixes #3697, #3701 - more comprehensive field validations