Issues

ZF-12130: Zend_Validate_Hostname doesn't handle IDN for .РФ

Issue Type: Bug Created: 2012-04-02T06:09:30.000+0000 Last Updated: 2012-06-04T13:54:44.000+0000 Status: Open Fix version(s): Reporter: Sergey Ugnivenko (sergeyseo) Assignee: Thomas Weidner (thomas) Tags: - Zend_Validate

Related issues: Attachments:

Description

Zend_Validate_Hostname doesn't handle IDN for .РФ, for example почта.рф

    $validator = new Zend_Validate();
    $validator->addValidator(new Zend_Validate_Hostname());

    if($validator->isValid('почта.рф')){
        echo "OK";
    }else{
        print_r($validator->getMessages());
    }

Array ( [hostnameUnknownTld] => 'почта.рф' appears to be a DNS hostname but cannot match TLD against known list [hostnameInvalidLocalName] => 'почта.рф' does not appear to be a valid local network name )

Comments

No comments to display

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