You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by he...@apache.org on 2019/07/07 08:13:38 UTC
svn commit: r1862678 -
/spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/DKIM.pm
Author: hege
Date: Sun Jul 7 08:13:38 2019
New Revision: 1862678
URL: http://svn.apache.org/viewvc?rev=1862678&view=rev
Log:
Fix regex case sensitive
Modified:
spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/DKIM.pm
Modified: spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/DKIM.pm
URL: http://svn.apache.org/viewvc/spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/DKIM.pm?rev=1862678&r1=1862677&r2=1862678&view=diff
==============================================================================
--- spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/DKIM.pm (original)
+++ spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/DKIM.pm Sun Jul 7 08:13:38 2019
@@ -1215,7 +1215,7 @@ sub _wlcheck_author_signature {
my $wl_ref = $pms->{conf}->{$wl};
foreach my $author (@{$pms->{dkim_author_addresses}}) {
foreach my $white_addr (keys %$wl_ref) {
- my $re = $wl_ref->{$white_addr};
+ my $re = qr/$wl_ref->{$white_addr}/i;
# dbg("dkim: WL %s %s", $wl, $white_addr);
if ($author =~ $re) {
push(@$acceptable_sdid_tuples_ref, [$author,undef,$wl,$re]);