Skip to content

Whois output is not correctly parsed if it contains empty lines #40

@stollr

Description

@stollr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions