Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit b594e03

Browse files
committed
Updates TLD list for Hostname validator
1 parent f5bd450 commit b594e03

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

src/Hostname.php

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class Hostname extends AbstractValidator
6969

7070
/**
7171
* Array of valid top-level-domains
72-
* IanaVersion 2018013101
72+
* IanaVersion 2018121300
7373
*
7474
* @see ftp://data.iana.org/TLD/tlds-alpha-by-domain.txt List of all TLDs by domain
7575
* @see http://www.iana.org/domains/root/db/ Official list of supported TLDs
@@ -242,7 +242,6 @@ class Hostname extends AbstractValidator
242242
'boo',
243243
'book',
244244
'booking',
245-
'boots',
246245
'bosch',
247246
'bostik',
248247
'boston',
@@ -317,6 +316,7 @@ class Hostname extends AbstractValidator
317316
'ch',
318317
'chanel',
319318
'channel',
319+
'charity',
320320
'chase',
321321
'chat',
322322
'cheap',
@@ -599,7 +599,6 @@ class Hostname extends AbstractValidator
599599
'goldpoint',
600600
'golf',
601601
'goo',
602-
'goodhands',
603602
'goodyear',
604603
'goog',
605604
'google',
@@ -691,6 +690,7 @@ class Hostname extends AbstractValidator
691690
'immo',
692691
'immobilien',
693692
'in',
693+
'inc',
694694
'industries',
695695
'infiniti',
696696
'info',
@@ -718,7 +718,6 @@ class Hostname extends AbstractValidator
718718
'itau',
719719
'itv',
720720
'iveco',
721-
'iwc',
722721
'jaguar',
723722
'java',
724723
'jcb',
@@ -728,7 +727,6 @@ class Hostname extends AbstractValidator
728727
'jetzt',
729728
'jewelry',
730729
'jio',
731-
'jlc',
732730
'jll',
733731
'jm',
734732
'jmp',
@@ -821,6 +819,7 @@ class Hostname extends AbstractValidator
821819
'living',
822820
'lixil',
823821
'lk',
822+
'llc',
824823
'loan',
825824
'loans',
826825
'locker',
@@ -875,7 +874,6 @@ class Hostname extends AbstractValidator
875874
'memorial',
876875
'men',
877876
'menu',
878-
'meo',
879877
'merckmsd',
880878
'metlife',
881879
'mg',
@@ -1011,7 +1009,6 @@ class Hostname extends AbstractValidator
10111009
'pa',
10121010
'page',
10131011
'panasonic',
1014-
'panerai',
10151012
'paris',
10161013
'pars',
10171014
'partners',
@@ -1150,7 +1147,6 @@ class Hostname extends AbstractValidator
11501147
'sandvikcoromant',
11511148
'sanofi',
11521149
'sap',
1153-
'sapo',
11541150
'sarl',
11551151
'sas',
11561152
'save',
@@ -1246,7 +1242,6 @@ class Hostname extends AbstractValidator
12461242
'starhub',
12471243
'statebank',
12481244
'statefarm',
1249-
'statoil',
12501245
'stc',
12511246
'stcgroup',
12521247
'stockholm',
@@ -1292,7 +1287,6 @@ class Hostname extends AbstractValidator
12921287
'tech',
12931288
'technology',
12941289
'tel',
1295-
'telecity',
12961290
'telefonica',
12971291
'temasek',
12981292
'tennis',
@@ -1387,7 +1381,6 @@ class Hostname extends AbstractValidator
13871381
'virgin',
13881382
'visa',
13891383
'vision',
1390-
'vista',
13911384
'vistaprint',
13921385
'viva',
13931386
'vivo',
@@ -1594,7 +1587,6 @@ class Hostname extends AbstractValidator
15941587
'新加坡',
15951588
'فلسطين',
15961589
'政务',
1597-
'xperia',
15981590
'xxx',
15991591
'xyz',
16001592
'yachts',

0 commit comments

Comments
 (0)