Skip Menu |
 

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

Report information
The Basics
Id: 126999
Status: open
Priority: 0/
Queue: Data-Validate-Domain

People
Owner: Nobody in particular
Requestors: david.reiner82 [...] yahoo.com
Cc:
AdminCc:

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



Subject: fails for gTLDs
Date: Thu, 30 Aug 2018 13:53:52 +0000 (UTC)
To: "bug-Data-Validate-Domain [...] rt.cpan.org" <bug-Data-Validate-Domain [...] rt.cpan.org>
From: David Reiner <david.reiner82 [...] yahoo.com>
Download (untitled) / with headers
text/plain 209b
gTLDs are allways classified as invalid: my $v = Data::Validate::Domain->new({domain_disable_tld_validation => 1}); die "is not a domain" unless $v->is_domain('https://names.club'); ==> is not a domain at
Download (untitled) / with headers
text/plain 272b
From the documentation: * domain_disable_tld_validation Disables TLD validation for is_domain(). This may be useful if you need to check domains with new gTLDs that have not yet been added to Net::Domain::TLD. Or provide a patch to Net::Domain::TLD, adding new domains.
Subject: Re: [rt.cpan.org #126999] fails for gTLDs
Date: Fri, 28 Sep 2018 12:15:21 +0000 (UTC)
To: Martin McGrath via RT <bug-Data-Validate-Domain [...] rt.cpan.org>
From: David Reiner <david.reiner82 [...] yahoo.com>
Download (untitled) / with headers
text/plain 666b
I'm using domain_disable_tld_validation to disable TLD validation for is_domain() as you can see in my example code. However it has no effect and gTLDs are still classified as being invalid. So, it's a bug? On Monday, September 3, 2018, 10:23:49 AM GMT+2, Martin McGrath via RT <bug-Data-Validate-Domain@rt.cpan.org> wrote: <URL: https://rt.cpan.org/Ticket/Display.html?id=126999 > From the documentation: * domain_disable_tld_validation Disables TLD validation for is_domain(). This may be useful if you need to check domains with new gTLDs that have not yet been added to Net::Domain::TLD. Or provide a patch to Net::Domain::TLD, adding new domains.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.