Comment 29 for bug 144431

Revision history for this message
Daniel Liebner (dliebner) wrote :

No, I don't think gethostbyname should accommodate for any crazy hostname, and I understand your argument. However, the hyphen is a special character. It *is* allowed in hostnames, just not technically as a border character. Many people have made the argument that hostnames aren't technically supposed to start with a digit, and yet gethostbyname will still resolve those addresses. Why not allow border hyphen characters for the same reason of it being practical in terms of reaching actual available web addresses?