pub fn hostname(value: &[u8]) -> bool
The checks of Hostname::isValid() before its allow list: not '' or '0', at most 253 characters (mb_strlen()), no / and no :.
Hostname::isValid()
''
'0'
mb_strlen()
/
: