Skip to content

Commit

Permalink
[validate-hostname] update TLDs
Browse files Browse the repository at this point in the history
to Version 2021090900, Last Updated Thu Sep  9 07:07:01 2021 UTC
and do not remove previously listed domains (originally copied from http://www.iana.org/domains/root/db) for BC
  • Loading branch information
falkenhawk committed Sep 10, 2021
1 parent e540bfb commit d9f4d59
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion packages/zend-validate/library/Zend/Validate/Hostname.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
/**
* Array of valid top-level-domains
*
* Version 2020052000, Last Updated Wed May 20 07:07:01 2020 UTC
* Version 2021090900, Last Updated Thu Sep 9 07:07:01 2021 UTC
*
* @see http://data.iana.org/TLD/tlds-alpha-by-domain.txt List of all TLDs by domain
* @see http://www.iana.org/domains/root/db/ Official list of supported TLDs
Expand All @@ -133,6 +133,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'accountant',
'accountants',
'aco',
'active',
'actor',
'ad',
'adac',
Expand Down Expand Up @@ -166,6 +167,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'alsace',
'alstom',
'am',
'amazon',
'americanexpress',
'americanfamily',
'amex',
Expand Down Expand Up @@ -270,6 +272,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'bms',
'bmw',
'bn',
'bnl',
'bnpparibas',
'bo',
'boats',
Expand All @@ -278,6 +281,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'bom',
'bond',
'boo',
'boots',
'book',
'booking',
'bosch',
Expand Down Expand Up @@ -328,6 +332,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'career',
'careers',
'cars',
'cartier',
'casa',
'case',
'caseih',
Expand Down Expand Up @@ -357,6 +362,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'chase',
'chat',
'cheap',
'chloe',
'chintai',
'christmas',
'chrome',
Expand Down Expand Up @@ -474,7 +480,9 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'docs',
'doctor',
'dog',
'doha',
'domains',
'doosan',
'dot',
'download',
'drive',
Expand Down Expand Up @@ -517,6 +525,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'eurovision',
'eus',
'events',
'everbank',
'exchange',
'expert',
'exposed',
Expand Down Expand Up @@ -559,6 +568,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'flir',
'florist',
'flowers',
'flsmidth',
'fly',
'fm',
'fo',
Expand Down Expand Up @@ -714,6 +724,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'ie',
'ieee',
'ifm',
'iinet',
'ikano',
'il',
'im',
Expand Down Expand Up @@ -747,6 +758,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'istanbul',
'it',
'itau',
'iwc',
'itv',
'iveco',
'jaguar',
Expand All @@ -757,6 +769,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'jeep',
'jetzt',
'jewelry',
'jlc',
'jio',
'jll',
'jm',
Expand Down Expand Up @@ -830,6 +843,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'lexus',
'lgbt',
'li',
'liaison',
'lidl',
'life',
'lifeinsurance',
Expand Down Expand Up @@ -869,6 +883,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'lu',
'lundbeck',
'lupin',
'lundbeck',
'luxe',
'luxury',
'lv',
Expand Down Expand Up @@ -930,6 +945,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'mom',
'monash',
'money',
'montblanc',
'monster',
'mormon',
'mortgage',
Expand All @@ -938,23 +954,27 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'motorcycles',
'mov',
'movie',
'movistar',
'mp',
'mq',
'mr',
'ms',
'msd',
'mt',
'mtn',
'mtpc',
'mtr',
'mu',
'museum',
'mutuelle',
'mutual',
'mv',
'mw',
'mx',
'my',
'mz',
'na',
'nadex',
'nab',
'nagoya',
'name',
Expand Down Expand Up @@ -1033,6 +1053,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'ovh',
'pa',
'page',
'panerai',
'panasonic',
'paris',
'pars',
Expand All @@ -1056,6 +1077,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'photography',
'photos',
'physio',
'piaget',
'pics',
'pictet',
'pictures',
Expand Down Expand Up @@ -1251,7 +1273,9 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'song',
'sony',
'soy',
'spa',
'space',
'spiegel',
'sport',
'spot',
'spreadbetting',
Expand All @@ -1260,6 +1284,8 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'ss',
'st',
'stada',
'starhub',
'statoil',
'staples',
'star',
'statebank',
Expand Down Expand Up @@ -1309,6 +1335,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'tech',
'technology',
'tel',
'telefonica',
'temasek',
'tennis',
'teva',
Expand Down Expand Up @@ -1401,6 +1428,8 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'virgin',
'visa',
'vision',
'vista',
'vistaprint',
'viva',
'vivo',
'vlaanderen',
Expand Down Expand Up @@ -1469,6 +1498,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'xn--45br5cyl',
'xn--45brj9c',
'xn--45q11c',
'xn--4dbrk0ce',
'xn--4gbrim',
'xn--54b7fta0cc',
'xn--55qw42g',
Expand All @@ -1494,6 +1524,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'xn--c1avg',
'xn--c2br7g',
'xn--cck2b3b',
'xn--cckwcxetd',
'xn--cg4bki',
'xn--clchc0ea0b2g2a9gcd',
'xn--czr694b',
Expand All @@ -1504,6 +1535,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'xn--e1a4c',
'xn--eckvdtc9d',
'xn--efvy88h',
'xn--estv75g',
'xn--fct429k',
'xn--fhbei',
'xn--fiq228c5hs',
Expand All @@ -1529,6 +1561,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'xn--j1aef',
'xn--j1amh',
'xn--j6w193g',
'xn--jlq480n2rg',
'xn--jlq61u9w7b',
'xn--jvr189m',
'xn--kcrx77d1x4a',
Expand Down Expand Up @@ -1607,6 +1640,7 @@ class Zend_Validate_Hostname extends Zend_Validate_Abstract
'xn--yfro4i67o',
'xn--ygbi2ammx',
'xn--zfr164b',
'xperia',
'xxx',
'xyz',
'yachts',
Expand Down

0 comments on commit d9f4d59

Please sign in to comment.