You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2004/01/08 03:51:57 UTC

svn commit: rev 6108 - incubator/spamassassin/trunk/spamd

Author: jm
Date: Wed Jan  7 18:51:57 2004
New Revision: 6108

Modified:
   incubator/spamassassin/trunk/spamd/spamd.raw
Log:
bug 2842: empty User header breaks exiscan

Modified: incubator/spamassassin/trunk/spamd/spamd.raw
==============================================================================
--- incubator/spamassassin/trunk/spamd/spamd.raw	(original)
+++ incubator/spamassassin/trunk/spamd/spamd.raw	Wed Jan  7 18:51:57 2004
@@ -623,6 +623,11 @@
 		protocol_error("(header not in 'Name: value' format)");
                 return 1;
             }
+	    if ($value eq '')
+	    {
+		Mail::SpamAssassin::dbg('ignored empty '$header' header');
+		next;
+	    }
 
             # We'll run handle user unless we've been told not
             # to process per-user config files.  Otherwise