[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Data::Domain::Validate outdated



On Mon, 06 Jul 2020 11:18:01 -0700, Felix Lechner wrote:

> Lintian now uses standard modules to parse email addresses. An
> existing check for invalid hosts was recently re-implemented with
> Email::Address::XS and Data::Validate:Domain. What is the Perl Team's
> plan for Data::Validate::Domain?

I guess we don't have any specific plans as we don't maintain the
package :)

% apt-cache --no-all-versions show libdata-validate-domain-perl 
Package: libdata-validate-domain-perl
Version: 0.10-1
Installed-Size: 63
Maintainer: Alexander Wirt <formorer@debian.org>
[…]

Cc'ing formorer, and leaving the rest for context:
 
> Our code works well, but today we received an unexpected bug report
> (#964381). On the surface, Lintian was right. The email address was
> bogus.
> 
> Unfortunately, the address was bogus because the TLD was invalid,
> while we tried to turn off that feature. [1] Many more TLDs have been
> added since the last upload of Data::Validate::Domain in 2010.
> 
> It turns out that the feature domain_disable_tld_validation we tried
> to use is not yet in Debian:
> 
> 0.13     2016-08-21
>     - The option domain_disable_tld_validation was added to allow disabling
>       TLD validation. This may be useful if you need to check domains with new
>       gTLDs that have not yet been added to Net::Domain::TLD.
> Implemented by Greg
>       Oschwald. GitHub #8.
> 
> Very few packages rely on Data::Validate::Domain, although here it
> works better than some alternatives. What is the Perl Team's plan for
> the module, please?
> 
> If you intend to provide Data::Validate::Domain going forward, would
> you please upload a new version when you get a chance? Thank you!
> 
> Kind regards
> Felix Lechner
> 
> [1] https://salsa.debian.org/lintian/lintian/-/blob/master/checks/fields/mail-address.pm#L109


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Joan Baez: Gracias a la vida

Attachment: signature.asc
Description: Digital Signature


Reply to: