Zend Framework

Zend_Validate_Hostname ccSLD support

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.5.2
  • Fix Version/s: 1.8.0
  • Component/s: Zend_Validate
  • Labels:
    None

Description

Zend_Validate_Hostname does not seems to support the validation of domains with country code second-level domain (ccSLD), such as http://www.example.co.uk or http://www.example.gr.jp (ccSLD list here: http://wiki.mozilla.org/TLD_List).

Activity

Hide
Hans Lemuet added a comment -

Any feedback on this issue, someone?

Show
Hans Lemuet added a comment - Any feedback on this issue, someone?
Hide
Simon R Jones added a comment -

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

Show
Simon R Jones added a comment - 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
Hide
Mark Evans added a comment -

This issue can be closed IMO.

I have run the list of domains from

http://data.iana.org/TLD/tlds-alpha-by-domain.txt

All all pass sucessfully

Show
Mark Evans added a comment - This issue can be closed IMO. I have run the list of domains from http://data.iana.org/TLD/tlds-alpha-by-domain.txt All all pass sucessfully
Hide
Thomas Weidner added a comment -

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

Show
Thomas Weidner added a comment - Checked with the last rework of Zend_Validate_Hostname. Unable to reproduce the described behaviour.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: