Issues

ZF-5760: Lithuanian top-level domain allowed utf-8 characters in Zend_Validate_Hostname

Issue Type: Improvement Created: 2009-02-12T07:16:41.000+0000 Last Updated: 2009-03-21T14:44:59.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Deividas Jodogalvis (lizdeika) Assignee: Thomas Weidner (thomas) Tags: - Zend_Validate

Related issues: Attachments:

Description

<pre class="highlight">
class Zend_Validate_Hostname_Lt implements Zend_Validate_Hostname_Interface
{

    /**
     * Returns UTF-8 characters allowed in DNS hostnames for the specified Top-Level-Domain
     *
     * @see <a href="http://domreg.lt/public?pg=8A7FB6&sp=idn">http://domreg.lt/public?pg=8A7FB6&sp=idn</a> Lithuania (.LT)
     * @return string
     */
    static function getCharacters()
    {
        return  '\x{0105}\x{0119}\x{012F}\x{0173}' .
                '\x{010D}\x{0117}\x{0161}\x{016B}\x{017E}';
    }

}

Comments

Posted by Thomas Weidner (thomas) on 2009-03-21T14:44:59.000+0000

New feature implemented with the last rework of Zend_Validate_Hostname.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts