Magento automatically checks when saving a declared as an e-mail address field, whether it can be a mail address. Here are the domain extensions with the (Magento) known TLD matched.
In recent years, several new entries have come onto the market, so that one with .com, .of, .org usw. long gone manages. TLD as .one or .photos grow over time.
but since there is no TLD synchronization Magento unlike currencies, you have here from time to time to lend a hand himself.
The secret lies in the Hostname.php, which can be found in the folder / public_html / lib / Zend / Validate. Here is both defined how long may be a TLD
// First check TLD $matches = array(); if (preg_match('/([^.]{2,10})$/i', end($domainParts), $matches) ||
and the allowed extensions themselves. It is easiest if the Hostname.php latest from the (matching) takes version of Magento and replaces the old (rename this, to still recover them if need be).
Even then, however, it may be, that the TLD will not be accepted. Then you have to look in the lines above, whether the desired extension is also called. With us e.g missing. the ending .one. Having them in the list between “if” and “ong” had set, then accepted Magento this new TLD also.
Used in Magento Version 1.9 Comments? Additions? Notes? Gladly!