rem: var validChars = hostname.match(/[A-Za-z0-9._]/g); 
add: var validChars = hostname.match(/[A-Za-z0-9.-]/g); 
context: function hostnameIsIllegal(hostname){  // XXX TODO do a complete check.  // this only checks for illegal characters in the hostname  // but hostnames like "...." and "_" and ".111" will get by  // my test.    var validChars = hostname.match(/[A-Za-z0-9._]/g);  if (!validChars || (validChars.length != hostname.length)) {    return true;  }  return false;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5f38cf839e8f17256ca0ed7343c022395f233578/aw-server.js/clean/mailnews/base/prefs/resources/content/aw-server.js