spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r209672 - /spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm
Date Thu, 07 Jul 2005 23:03:03 GMT
Author: dos
Date: Thu Jul  7 16:03:02 2005
New Revision: 209672

URL: http://svn.apache.org/viewcvs?rev=209672&view=rev
Log:
bug 4453: whitelist_from_rcvd hostname should be case insensitive

Modified:
    spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm?rev=209672&r1=209671&r2=209672&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm Thu Jul  7 16:03:02 2005
@@ -940,7 +940,7 @@
       if ($addr =~ $regexp) {
         foreach my $lastunt (@relays) {
           my $rdns = $lastunt->{lc_rdns};
-          if ($rdns =~ /(?:^|\.)\Q${domain}\E$/) { return 1; }
+          if ($rdns =~ /(?:^|\.)\Q${domain}\E$/i) { return 1; }
         }
         # found address match but no relay match. note as possible forgery
         $found_forged = -1;



Mime
View raw message