diff options
| -rw-r--r-- | CREDITS | 1 | ||||
| -rw-r--r-- | lib/utils.js | 13 | 
2 files changed, 2 insertions, 12 deletions
| @@ -29,5 +29,6 @@ Contributors:    Justin Blake <justin@hentzia.com> (github: blaix)    Wang Ning <daning106@gmail.com> (github:daning)    Bernardo B. Marques <bernardo.fire@gmail.com> (github: bernardofire) +  Niklas Baumstark <niklas.baumstark@gmail.com> (github: niklasb)  Feel free to add real names in addition to GitHub usernames. diff --git a/lib/utils.js b/lib/utils.js index 12304be2..efdb49fb 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -97,18 +97,7 @@ var utils = {      // these are all official ASCII TLDs that are longer than 3 characters      // (including the inofficial .onion TLD used by TOR) -    var longTlds = [ -      'arpa', -      'asia', -      'coop', -      'info', -      'jobs', -      'local', -      'mobi', -      'museum', -      'name', -      'onion', -    ]; +    var longTlds = [ 'arpa', 'asia', 'coop', 'info', 'jobs', 'local', 'mobi', 'museum', 'name', 'onion' ];      // are there more?      var specialHostNames = [ 'localhost' ]; | 
