Error #117
tancatBMX6 don't support non alphanumeric characters in hostname
Descripció
A linux hostname can contain special characters like . or _
But bmx6 crashes if hostname is not alphanumeric.
Actualitzat per Axel Neumann fa més de 12 anys
- Estat ha canviat de Nou a Resolt
- Prioritat ha canviat de Normal a Baixa
- % realitzat ha canviat de 0 a 100
I've played with hostname command and checked wikipedia
http://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names
which says mainly:
Anything from 0-9, a-z, A-Z, '-', and '.' for a hostname is ok
Particularly '_' is illegal (also when testing with hostname)
Pretty much as it is in bmx6:
http://bmx6.net/projects/bmx6/repository/revisions/master/entry/tools.c#L119
(I know, c=='-' must not be checked twice,... but apart from that)
The main difference to rfc1123 is the total length which must be below 32 characters (instead of 255).
I should consider this 255 character limitation with the next bigger bmx6 compatibility switch because simply increasing this number would mean transferring mostly zeros in the description if the hostname is shorter.
Actualitzat per Roger Pueyo Centelles fa més de 6 anys
- Estat ha canviat de Resolt a Tancat