zendframework / zend-validator

Validator component from Zend Framework
BSD 3-Clause "New" or "Revised" License
181 stars 136 forks source link

Zend\Validator\Hostname add supporting of *.shop TLD #139

Closed oleksii-lisovyi closed 7 years ago

oleksii-lisovyi commented 7 years ago

Hello Guys,

While working with ZF1 on Magento 1.x I found, that some customers are not able to register account with email like example@my.shop.

Also I found, that this TLD is not present in the latest version of ZF2. So can you please add TLD .shop as valid one to the related class?

Kind regards,

Oleksii Lisovyi

Xerkus commented 7 years ago

TLDs are updated from IANA and generally become available with the next zend-validator release after IANA published them. In this case it was 2.8.2