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

Commit 268a704

Browse files
committed
Merge branch 'hotfix/hostname-idn-update'
Updates Hostname validator IDN list
2 parents 2746080 + 39a64e6 commit 268a704

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

src/Hostname.php

Lines changed: 18 additions & 1 deletion
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 2017051700
72+
* IanaVersion 2017071801
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
@@ -144,6 +144,7 @@ class Hostname extends AbstractValidator
144144
'aq',
145145
'aquarelle',
146146
'ar',
147+
'arab',
147148
'aramco',
148149
'archi',
149150
'army',
@@ -479,6 +480,7 @@ class Hostname extends AbstractValidator
479480
'estate',
480481
'esurance',
481482
'et',
483+
'etisalat',
482484
'eu',
483485
'eurovision',
484486
'eus',
@@ -613,6 +615,7 @@ class Hostname extends AbstractValidator
613615
'gratis',
614616
'green',
615617
'gripe',
618+
'grocery',
616619
'group',
617620
'gs',
618621
'gt',
@@ -853,6 +856,7 @@ class Hostname extends AbstractValidator
853856
'man',
854857
'management',
855858
'mango',
859+
'map',
856860
'market',
857861
'marketing',
858862
'markets',
@@ -876,6 +880,7 @@ class Hostname extends AbstractValidator
876880
'men',
877881
'menu',
878882
'meo',
883+
'merckmsd',
879884
'metlife',
880885
'mg',
881886
'mh',
@@ -1028,6 +1033,7 @@ class Hostname extends AbstractValidator
10281033
'pg',
10291034
'ph',
10301035
'pharmacy',
1036+
'phd',
10311037
'philips',
10321038
'phone',
10331039
'photo',
@@ -1173,6 +1179,7 @@ class Hostname extends AbstractValidator
11731179
'scot',
11741180
'sd',
11751181
'se',
1182+
'search',
11761183
'seat',
11771184
'secure',
11781185
'security',
@@ -1444,13 +1451,16 @@ class Hostname extends AbstractValidator
14441451
'कॉम',
14451452
'セール',
14461453
'佛山',
1454+
'ಭಾರತ',
14471455
'慈善',
14481456
'集团',
14491457
'在线',
14501458
'한국',
1459+
'ଭାରତ',
14511460
'大众汽车',
14521461
'点看',
14531462
'คอม',
1463+
'ভাৰত',
14541464
'ভারত',
14551465
'八卦',
14561466
'موقع',
@@ -1504,7 +1514,9 @@ class Hostname extends AbstractValidator
15041514
'クラウド',
15051515
'ભારત',
15061516
'通販',
1517+
'भारतम्',
15071518
'भारत',
1519+
'भारोत',
15081520
'网店',
15091521
'संगठन',
15101522
'餐厅',
@@ -1525,15 +1537,18 @@ class Hostname extends AbstractValidator
15251537
'ارامكو',
15261538
'ایران',
15271539
'العليان',
1540+
'اتصالات',
15281541
'امارات',
15291542
'بازار',
15301543
'پاکستان',
15311544
'الاردن',
15321545
'موبايلي',
1546+
'بارت',
15331547
'بھارت',
15341548
'المغرب',
15351549
'ابوظبي',
15361550
'السعودية',
1551+
'ڀارت',
15371552
'كاثوليك',
15381553
'سودان',
15391554
'همراه',
@@ -1544,6 +1559,7 @@ class Hostname extends AbstractValidator
15441559
'政府',
15451560
'شبكة',
15461561
'بيتك',
1562+
'عرب',
15471563
'გე',
15481564
'机构',
15491565
'组织机构',
@@ -1560,6 +1576,7 @@ class Hostname extends AbstractValidator
15601576
'ελ',
15611577
'世界',
15621578
'書籍',
1579+
'ഭാരതം',
15631580
'ਭਾਰਤ',
15641581
'网址',
15651582
'닷넷',

0 commit comments

Comments
 (0)