/[smeserver]/rpms/perl-Mail-DMARC/sme10/Mail-DMARC-1.20141206-handle_undef_domains.patch
ViewVC logotype

Contents of /rpms/perl-Mail-DMARC/sme10/Mail-DMARC-1.20141206-handle_undef_domains.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Tue Apr 19 21:22:47 2022 UTC (2 years, 1 month ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Tue Apr 19 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.20200214-1.sme
- upate to 1.20200214 [SME: 10103]
- remove t/04.PurePerl.t tests that are failing inside mock

1 diff -Nur Mail-DMARC-1.20141206/lib/Mail/DMARC/Base.pm Mail-DMARC-1.20141206_bz10318/lib/Mail/DMARC/Base.pm
2 --- Mail-DMARC-1.20141206/lib/Mail/DMARC/Base.pm 2014-12-06 07:56:07.000000000 +0100
3 +++ Mail-DMARC-1.20141206_bz10318/lib/Mail/DMARC/Base.pm 2017-05-20 13:19:53.585378458 +0200
4 @@ -187,6 +187,7 @@
5
6 sub is_valid_domain {
7 my ( $self, $domain ) = @_;
8 + return 0 unless $domain;
9 return 0 if $domain !~ /^$RE{net}{domain}{-rfc1101}{-nospace}$/x;
10 my $tld = ( split /\./, $domain )[-1];
11 return 1 if $self->is_public_suffix($tld);

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed