Closed thaxyh closed 9 years ago
@mhujer Can you check this?
Works for me;)
Any chance to add it to the sources?
Any chance to add it to the sources?
…with the next release.
Great! Thank you:)
Created a PR with the fix and test: #615
@mhujer Thanks!
why not use $domainPart !== ''
to match empty string?
Hello, I have a problem with validating NTP hostnames despite using of
ALLOW_ALL
setting. I use PHP 5.6.6 and ZendFramework 1.12.9, but the problem also applies to the latest version of ZF1.Usage of
empty()
function (Zend/Validate/Hostname.php:1462 for ZF1.12.15) causes this issue, becauseempty(0)
returnsfalse
.A simple change might solve it: