ZF-12314: Zend_Validate_Hostname has wrong IDN validation for .dk domains

Issue Type: Bug Created: 2012-07-02T12:32:51.000+0000 Last Updated: 2012-11-02T21:24:52.000+0000 Status: Resolved Fix version(s): - 1.12.1 (18/Dec/12)

Reporter: Jakob Møbjerg Nielsen (vitz) Assignee: Thomas Weidner (thomas) Tags: - Zend_Validate

  • FixForZF1.12

Related issues: Attachments:

Description says: "You can use all Danish letters as well as ö, ä, ü and é as well as the numbers 0 through 9 and '-'."

The current implementation is: '/^[\x{002d}0-9a-zäéöü]{1,63}$/iu'

The "Danish letters" mentioned is 'æøå' which lacks from the above regex.


Posted by Rob Allen (rob) on 2012-11-02T21:24:30.000+0000

Fixed in trunk (25060) and release-1.12 (25061)

Have you found an issue?

See the Overview section for more details.


© 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.