If the raw output of the whois query contains empty lines, the while loop in the get_blocks function of file whois.parser.php stops before all lines are processed.
The reason is obvious:
while ($val = current($rawdata))
$val is falsy when the line is empty.
Imho this is a big issue. Because Whois is telling that a domain is free, although it is wrong.
If the raw output of the whois query contains empty lines, the while loop in the
get_blocksfunction of filewhois.parser.phpstops before all lines are processed.The reason is obvious:
$valis falsy when the line is empty.Imho this is a big issue. Because Whois is telling that a domain is free, although it is wrong.