phpipam
phpipam copied to clipboard
Hostname validation
Hi, when adding/editing an IP address I need the Hostname field to be required and validated. At the moment I fixed this with:
if( $Addresses->validate_hostname($address['dns_name']) === false ) $Result->show("danger", _("Hostname is not valid"), true);
in app/subnets/addresses/address-modify-submit.php
It would be nice to have this available as an option.
Thanks.
6 years and our users can still add underscores to hostnames.
Can we expect this to be fixed?