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

Commit c35bb13

Browse files
committed
Merge branch 'hotfix/hostname-validator-update'
Updates Hostname validator TLDs via IANA sources.
2 parents 7b4b789 + b3ebdf2 commit c35bb13

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/Hostname.php

Lines changed: 3 additions & 7 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 2017082200
72+
* IanaVersion 2018013101
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
@@ -321,7 +321,6 @@ class Hostname extends AbstractValidator
321321
'chat',
322322
'cheap',
323323
'chintai',
324-
'chloe',
325324
'christmas',
326325
'chrome',
327326
'chrysler',
@@ -672,7 +671,6 @@ class Hostname extends AbstractValidator
672671
'hr',
673672
'hsbc',
674673
'ht',
675-
'htc',
676674
'hu',
677675
'hughes',
678676
'hyatt',
@@ -866,8 +864,6 @@ class Hostname extends AbstractValidator
866864
'mattel',
867865
'mba',
868866
'mc',
869-
'mcd',
870-
'mcdonalds',
871867
'mckinsey',
872868
'md',
873869
'me',
@@ -909,7 +905,6 @@ class Hostname extends AbstractValidator
909905
'monash',
910906
'money',
911907
'monster',
912-
'montblanc',
913908
'mopar',
914909
'mormon',
915910
'mortgage',
@@ -1015,7 +1010,6 @@ class Hostname extends AbstractValidator
10151010
'ovh',
10161011
'pa',
10171012
'page',
1018-
'pamperedchef',
10191013
'panasonic',
10201014
'panerai',
10211015
'paris',
@@ -1239,6 +1233,7 @@ class Hostname extends AbstractValidator
12391233
'soy',
12401234
'space',
12411235
'spiegel',
1236+
'sport',
12421237
'spot',
12431238
'spreadbetting',
12441239
'sr',
@@ -1566,6 +1561,7 @@ class Hostname extends AbstractValidator
15661561
'健康',
15671562
'ไทย',
15681563
'سورية',
1564+
'招聘',
15691565
'рус',
15701566
'рф',
15711567
'珠宝',

0 commit comments

Comments
 (0)