Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Domain-PublicSuffix CPAN distribution.

Report information
The Basics
Id: 66009
Status: resolved
Priority: 0/
Queue: Domain-PublicSuffix

People
Owner: Nobody in particular
Requestors: randy.chrome [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: get_root_domain("www.poland.gov.pl") returns undef
Date: Mon, 21 Feb 2011 13:28:06 -0600
To: bug-domain-publicsuffix [...] rt.cpan.org
From: Randy <randy.chrome [...] gmail.com>
The following code returns undef: perl -MDomain::PublicSuffix -l -e'print Domain::PublicSuffix->new()->get_root_domain("www.poland.gov.pl");' Based on the rules in Domain::PublicSuffix::Default, I believe it should return "poland.gov.pl". The same problem exists when using the current list from publicsuffix.org.
On Mon Feb 21 14:29:17 2011, randy.chrome@gmail.com wrote: Show quoted text
> The following code returns undef: > > perl -MDomain::PublicSuffix -l -e'print > Domain::PublicSuffix->new()->get_root_domain("www.poland.gov.pl");' > > Based on the rules in Domain::PublicSuffix::Default, I believe it should > return "poland.gov.pl". > > The same problem exists when using the current list from publicsuffix.org.
Confirmed. I'll see if I can get a fix out today or tomorrow. - Nick
This has been confirmed fixed as of release v0.05.