Inadequate hostname validation rules prevent valid hostnames from being entered in Server Config
NOTE: I am using ISPConfig 3.0.5.4.p5, but this version is not available in the "Reported Version" drop-down.
According to RFC 1123 ( https://tools.ietf.org/html/rfc1123 ), valid hostnames do not necessarily have to be fully-qualified domain names (FQDNs).
The ISPConfig interface seems to require a FQDN in the Hostname field. I am trying to enter a hostname such as "MY-SERVER" (without the quotes) and ISPConfig complains with "Invalid Hostname." when attempting to save the change.
From what I can determine, the validation was added with http://git.ispconfig.org/ispconfig/ispconfig3/commit/a43eb3b0ccaf84a6ab44a1f46f47cc4f8ce54844 .
I am happy to write a more suitable regular expression to validate hostnames, if one cannot readily be found on the Internet.
P.S. I am very grateful for the addition of the Hostname field.