Closed Rubikoid closed 2 years ago
Thank you for finding this! This bug is gross.
I think your suggestion for adding "available for re-registration"
to parse_tld.DomainParser._no_match_checks
is a good idea for handling this scenario. Additionally, I will fix that regex as there are likely other scenarios where it will fail.
I'll leave #35 open for some time if you want to review it. I think it handles the scenarios described here.
On whois of any registered in the past .tk domain, entire thread gets stuck on regex.
For example, let's use
asdasdasdasd.tk
domain, which is has been registered sometime ago, but now is free.Whois service return the text data:
So, the problem is in parse_tld.py#L1169, because it search for
Owner contact
, that doesn't exist.imho, this regex enough dangerous, but as hotfix, i assume, would be enough to add const
available for re-registration at
toparse_tld.DomainParser._no_match_checks