You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2004/11/15 02:01:23 UTC
svn commit: rev 71479 - spamassassin/branches/3.0/lib/Mail/SpamAssassin
Author: felicity
Date: Sun Nov 14 17:01:23 2004
New Revision: 71479
Modified:
spamassassin/branches/3.0/lib/Mail/SpamAssassin/EvalTests.pm
Log:
bug 3942: EvalTests::_check_recipients() would sometimes parse out the wrong addresses/overwrite entries on the array/etc.
Modified: spamassassin/branches/3.0/lib/Mail/SpamAssassin/EvalTests.pm
==============================================================================
--- spamassassin/branches/3.0/lib/Mail/SpamAssassin/EvalTests.pm (original)
+++ spamassassin/branches/3.0/lib/Mail/SpamAssassin/EvalTests.pm Sun Nov 14 17:01:23 2004
@@ -132,7 +132,7 @@
for ('ToCc', 'Bcc') {
my $to = $self->get($_); # get recipients
$to =~ s/\(.*?\)//g; # strip out the (comments)
- @inputs = ($to =~ m/([\w.=-]+\@\w+(?:[\w.-]+\.)+\w+)/g);
+ push(@inputs, ($to =~ m/([\w.=-]+\@\w+(?:[\w.-]+\.)+\w+)/g));
last if scalar(@inputs) >= TOCC_SIMILAR_COUNT;
}