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

Commit

Permalink
Updates TLD list for Hostname validator
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Dec 13, 2018
1 parent f5bd450 commit b594e03
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions 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 2018013101
* IanaVersion 2018121300
*
* @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 @@ -242,7 +242,6 @@ class Hostname extends AbstractValidator
'boo',
'book',
'booking',
'boots',
'bosch',
'bostik',
'boston',
Expand Down Expand Up @@ -317,6 +316,7 @@ class Hostname extends AbstractValidator
'ch',
'chanel',
'channel',
'charity',
'chase',
'chat',
'cheap',
Expand Down Expand Up @@ -599,7 +599,6 @@ class Hostname extends AbstractValidator
'goldpoint',
'golf',
'goo',
'goodhands',
'goodyear',
'goog',
'google',
Expand Down Expand Up @@ -691,6 +690,7 @@ class Hostname extends AbstractValidator
'immo',
'immobilien',
'in',
'inc',
'industries',
'infiniti',
'info',
Expand Down Expand Up @@ -718,7 +718,6 @@ class Hostname extends AbstractValidator
'itau',
'itv',
'iveco',
'iwc',
'jaguar',
'java',
'jcb',
Expand All @@ -728,7 +727,6 @@ class Hostname extends AbstractValidator
'jetzt',
'jewelry',
'jio',
'jlc',
'jll',
'jm',
'jmp',
Expand Down Expand Up @@ -821,6 +819,7 @@ class Hostname extends AbstractValidator
'living',
'lixil',
'lk',
'llc',
'loan',
'loans',
'locker',
Expand Down Expand Up @@ -875,7 +874,6 @@ class Hostname extends AbstractValidator
'memorial',
'men',
'menu',
'meo',
'merckmsd',
'metlife',
'mg',
Expand Down Expand Up @@ -1011,7 +1009,6 @@ class Hostname extends AbstractValidator
'pa',
'page',
'panasonic',
'panerai',
'paris',
'pars',
'partners',
Expand Down Expand Up @@ -1150,7 +1147,6 @@ class Hostname extends AbstractValidator
'sandvikcoromant',
'sanofi',
'sap',
'sapo',
'sarl',
'sas',
'save',
Expand Down Expand Up @@ -1246,7 +1242,6 @@ class Hostname extends AbstractValidator
'starhub',
'statebank',
'statefarm',
'statoil',
'stc',
'stcgroup',
'stockholm',
Expand Down Expand Up @@ -1292,7 +1287,6 @@ class Hostname extends AbstractValidator
'tech',
'technology',
'tel',
'telecity',
'telefonica',
'temasek',
'tennis',
Expand Down Expand Up @@ -1387,7 +1381,6 @@ class Hostname extends AbstractValidator
'virgin',
'visa',
'vision',
'vista',
'vistaprint',
'viva',
'vivo',
Expand Down Expand Up @@ -1594,7 +1587,6 @@ class Hostname extends AbstractValidator
'新加坡',
'فلسطين',
'政务',
'xperia',
'xxx',
'xyz',
'yachts',
Expand Down

0 comments on commit b594e03

Please sign in to comment.