Comment 28 for bug 121467

Revision history for this message
In , Michal-novotny (michal-novotny) wrote :

Created attachment 304724
whitelist for checking host names

This patch changes blacklist to whitelist in net_IsValidHostName(). I didn't include second whitelist from patch #241137 because it isn't RFC 4007 compliant. PR_StringToNetAddr() should check it correctly.