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

Commit 4005baa

Browse files
committed
Merge branch 'hotfix/tld-update'
Updates TLD list for hostname validator.
2 parents 2f94be6 + bf0147b commit 4005baa

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

src/Hostname.php

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class Hostname extends AbstractValidator
6767

6868
/**
6969
* Array of valid top-level-domains
70-
* IanaVersion 2016021700
70+
* IanaVersion 2016030200
7171
*
7272
* @see ftp://data.iana.org/TLD/tlds-alpha-by-domain.txt List of all TLDs by domain
7373
* @see http://www.iana.org/domains/root/db/ Official list of supported TLDs
@@ -259,6 +259,7 @@ class Hostname extends AbstractValidator
259259
'ch',
260260
'chanel',
261261
'channel',
262+
'chase',
262263
'chat',
263264
'cheap',
264265
'chloe',
@@ -308,6 +309,7 @@ class Hostname extends AbstractValidator
308309
'coop',
309310
'corsica',
310311
'country',
312+
'coupon',
311313
'coupons',
312314
'courses',
313315
'cr',
@@ -365,7 +367,6 @@ class Hostname extends AbstractValidator
365367
'dog',
366368
'doha',
367369
'domains',
368-
'doosan',
369370
'download',
370371
'drive',
371372
'dubai',
@@ -600,6 +601,7 @@ class Hostname extends AbstractValidator
600601
'jot',
601602
'joy',
602603
'jp',
604+
'jpmorgan',
603605
'jprs',
604606
'juegos',
605607
'kaufen',
@@ -817,6 +819,7 @@ class Hostname extends AbstractValidator
817819
'partners',
818820
'parts',
819821
'party',
822+
'passagens',
820823
'pe',
821824
'pet',
822825
'pf',
@@ -986,10 +989,12 @@ class Hostname extends AbstractValidator
986989
'sohu',
987990
'solar',
988991
'solutions',
992+
'song',
989993
'sony',
990994
'soy',
991995
'space',
992996
'spiegel',
997+
'spot',
993998
'spreadbetting',
994999
'sr',
9951000
'srl',
@@ -1003,6 +1008,7 @@ class Hostname extends AbstractValidator
10031008
'stcgroup',
10041009
'stockholm',
10051010
'storage',
1011+
'store',
10061012
'studio',
10071013
'study',
10081014
'style',
@@ -1038,6 +1044,7 @@ class Hostname extends AbstractValidator
10381044
'tech',
10391045
'technology',
10401046
'tel',
1047+
'telecity',
10411048
'telefonica',
10421049
'temasek',
10431050
'tennis',
@@ -1082,6 +1089,7 @@ class Hostname extends AbstractValidator
10821089
'tt',
10831090
'tube',
10841091
'tui',
1092+
'tunes',
10851093
'tushu',
10861094
'tv',
10871095
'tvs',
@@ -1112,6 +1120,7 @@ class Hostname extends AbstractValidator
11121120
'vi',
11131121
'viajes',
11141122
'video',
1123+
'viking',
11151124
'villas',
11161125
'vin',
11171126
'vip',
@@ -1129,6 +1138,7 @@ class Hostname extends AbstractValidator
11291138
'voto',
11301139
'voyage',
11311140
'vu',
1141+
'vuelos',
11321142
'wales',
11331143
'walter',
11341144
'wang',
@@ -1163,6 +1173,7 @@ class Hostname extends AbstractValidator
11631173
'xerox',
11641174
'xin',
11651175
'कॉम',
1176+
'セール',
11661177
'佛山',
11671178
'慈善',
11681179
'集团',
@@ -1187,8 +1198,10 @@ class Hostname extends AbstractValidator
11871198
'קום',
11881199
'时尚',
11891200
'淡马锡',
1201+
'ファッション',
11901202
'орг',
11911203
'नेट',
1204+
'ストア',
11921205
'삼성',
11931206
'சிங்கப்பூர்',
11941207
'商标',
@@ -1210,6 +1223,7 @@ class Hostname extends AbstractValidator
12101223
'భారత్',
12111224
'ලංකා',
12121225
'购物',
1226+
'クラウド',
12131227
'ભારત',
12141228
'भारत',
12151229
'网店',
@@ -1220,6 +1234,7 @@ class Hostname extends AbstractValidator
12201234
'укр',
12211235
'香港',
12221236
'诺基亚',
1237+
'食品',
12231238
'飞利浦',
12241239
'台湾',
12251240
'台灣',
@@ -1261,6 +1276,7 @@ class Hostname extends AbstractValidator
12611276
'グーグル',
12621277
'ελ',
12631278
'世界',
1279+
'書籍',
12641280
'ਭਾਰਤ',
12651281
'网址',
12661282
'닷넷',

0 commit comments

Comments
 (0)