You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by mm...@apache.org on 2010/03/11 22:00:03 UTC

svn commit: r922019 - /spamassassin/branches/3.3/spamd/spamd.raw

Author: mmartinec
Date: Thu Mar 11 21:00:03 2010
New Revision: 922019

URL: http://svn.apache.org/viewvc?rev=922019&view=rev
Log:
Bug 6340: a trivial improvement from Andrej Sossi

Modified:
    spamassassin/branches/3.3/spamd/spamd.raw

Modified: spamassassin/branches/3.3/spamd/spamd.raw
URL: http://svn.apache.org/viewvc/spamassassin/branches/3.3/spamd/spamd.raw?rev=922019&r1=922018&r2=922019&view=diff
==============================================================================
--- spamassassin/branches/3.3/spamd/spamd.raw (original)
+++ spamassassin/branches/3.3/spamd/spamd.raw Thu Mar 11 21:00:03 2010
@@ -2189,7 +2189,7 @@ sub handle_user_vpopmail {
     while (@aliases) {
       my $vpopusername_tainted = shift(@aliases);
       local $1;
-      if ($vpopusername_tainted =~ /^.+ -> &?(.+)/) {
+      if ($vpopusername_tainted =~ /->  &?(.+)$/) {
         $vpopusername = untaint_var($1);
         if ($vpopusername =~ s{^(/.+)/Maildir/$}{$1}) {
           # this is the path to a real mailbox