specialunderwear / Hosts.prefpane

a Cocoa GUI for /etc/hosts
http://niggazpullintriggaz.blogspot.com/2011/11/how-i-managed-to-edit-etchosts-without.html
GNU General Public License v3.0
1.62k stars 126 forks source link

Unable to add entry #33

Open tasuku-s opened 7 years ago

tasuku-s commented 7 years ago

When I add one character hostname like "a" or "f", this application alert Please enter a valid hostname. But when hostname is "g", it is not alerted.

"aaaa" is bad, "aaaaa" is good. "aaaf" is bad, "aaag" is good.

It strange to me.

TopCheff commented 6 years ago

hostname aqui tienes un ejemplo: captura de pantalla 2018-03-14 a las 18 41 38

specialunderwear commented 6 years ago

Ok thanks for reporting!

Dirk- commented 4 years ago

@tasuku-s Cannot reproduce this in version 1.4.3.

Update: Just noticed that 1.4.3 does not check hostnames and ip addresses directly after editing. "Validates immediately" is false.