ZF-3462: Zend_Validate_Hostname ccSLD support

Issue Type: Bug Created: 2008-06-16T06:30:34.000+0000 Last Updated: 2009-03-21T14:40:32.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Hans Lemuet (spone) Assignee: Thomas Weidner (thomas) Tags: - Zend_Validate

Related issues: Attachments:


Zend_Validate_Hostname does not seems to support the validation of domains with country code second-level domain (ccSLD), such as or (ccSLD list here:


Posted by Hans Lemuet (spone) on 2008-07-04T03:01:36.000+0000

Any feedback on this issue, someone?

Posted by Simon R Jones (studio24) on 2008-11-02T08:13:15.000+0000

Hans, please could you supply some sample code and I can look into this for you. Without any code, it's impossible to investigate since all TLDs including ccTLDs work fine for me with this validator.

Can you check you are not using a custom error handler in your code since this seems to be causing issues with Zend_Loader (see ZF-2900).

thanks, Si

Posted by Mark Evans (sparky) on 2008-12-20T12:46:00.000+0000

This issue can be closed IMO.

I have run the list of domains from

All all pass sucessfully

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

Checked with the last rework of Zend_Validate_Hostname. Unable to reproduce the described behaviour.

Have you found an issue?

See the Overview section for more details.


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

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