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

Commit

Permalink
Merge branch 'hotfix/hostname-idn-update'
Browse files Browse the repository at this point in the history
Updates Hostname validator IDN list
  • Loading branch information
weierophinney committed Jul 19, 2017
2 parents 2746080 + 39a64e6 commit 268a704
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/Hostname.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class Hostname extends AbstractValidator

/**
* Array of valid top-level-domains
* IanaVersion 2017051700
* IanaVersion 2017071801
*
* @see ftp://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 Down Expand Up @@ -144,6 +144,7 @@ class Hostname extends AbstractValidator
'aq',
'aquarelle',
'ar',
'arab',
'aramco',
'archi',
'army',
Expand Down Expand Up @@ -479,6 +480,7 @@ class Hostname extends AbstractValidator
'estate',
'esurance',
'et',
'etisalat',
'eu',
'eurovision',
'eus',
Expand Down Expand Up @@ -613,6 +615,7 @@ class Hostname extends AbstractValidator
'gratis',
'green',
'gripe',
'grocery',
'group',
'gs',
'gt',
Expand Down Expand Up @@ -853,6 +856,7 @@ class Hostname extends AbstractValidator
'man',
'management',
'mango',
'map',
'market',
'marketing',
'markets',
Expand All @@ -876,6 +880,7 @@ class Hostname extends AbstractValidator
'men',
'menu',
'meo',
'merckmsd',
'metlife',
'mg',
'mh',
Expand Down Expand Up @@ -1028,6 +1033,7 @@ class Hostname extends AbstractValidator
'pg',
'ph',
'pharmacy',
'phd',
'philips',
'phone',
'photo',
Expand Down Expand Up @@ -1173,6 +1179,7 @@ class Hostname extends AbstractValidator
'scot',
'sd',
'se',
'search',
'seat',
'secure',
'security',
Expand Down Expand Up @@ -1444,13 +1451,16 @@ class Hostname extends AbstractValidator
'कॉम',
'セール',
'佛山',
'ಭಾರತ',
'慈善',
'集团',
'在线',
'한국',
'ଭାରତ',
'大众汽车',
'点看',
'คอม',
'ভাৰত',
'ভারত',
'八卦',
'موقع',
Expand Down Expand Up @@ -1504,7 +1514,9 @@ class Hostname extends AbstractValidator
'クラウド',
'ભારત',
'通販',
'भारतम्',
'भारत',
'भारोत',
'网店',
'संगठन',
'餐厅',
Expand All @@ -1525,15 +1537,18 @@ class Hostname extends AbstractValidator
'ارامكو',
'ایران',
'العليان',
'اتصالات',
'امارات',
'بازار',
'پاکستان',
'الاردن',
'موبايلي',
'بارت',
'بھارت',
'المغرب',
'ابوظبي',
'السعودية',
'ڀارت',
'كاثوليك',
'سودان',
'همراه',
Expand All @@ -1544,6 +1559,7 @@ class Hostname extends AbstractValidator
'政府',
'شبكة',
'بيتك',
'عرب',
'გე',
'机构',
'组织机构',
Expand All @@ -1560,6 +1576,7 @@ class Hostname extends AbstractValidator
'ελ',
'世界',
'書籍',
'ഭാരതം',
'ਭਾਰਤ',
'网址',
'닷넷',
Expand Down

0 comments on commit 268a704

Please sign in to comment.