Since PR #40, hostnames are considered FQDNs only and simple names such as
localhost no more validate.
Further, the RFC rules on allowed positions for dashes are not enforced, and the hostname validator
fails to detect that xxx-.example.com, xxx.-example.com and xxx.example-.com are invalid names.
Since PR #40, hostnames are considered FQDNs only and simple names such as
localhost
no more validate.Further, the RFC rules on allowed positions for dashes are not enforced, and the hostname validator fails to detect that
xxx-.example.com
,xxx.-example.com
andxxx.example-.com
are invalid names.