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

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

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


Revision 1.1 - (show annotations) (download)
Sat May 20 11:31:40 2017 UTC (7 years ago) by vip-ire
Branch: MAIN
CVS Tags: perl-Mail-DMARC-1_20141206-2_el6_sme, HEAD
* Sat May 20 2017 Daniel Berteaud <daniel@firewall-services.com> 1.20141206-2
- Handle undef domains (like bounces) [SME: 10321]

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