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 04:32:50 UTC
svn commit: rev 6111 - incubator/spamassassin/branches/b2_6_0/spamd
Author: jm
Date: Wed Jan 7 19:32:49 2004
New Revision: 6111
Modified:
incubator/spamassassin/branches/b2_6_0/spamd/spamd.raw
Log:
bug 2842: exiscan spamc passes empty User: on to spamd, fix support for this
Modified: incubator/spamassassin/branches/b2_6_0/spamd/spamd.raw
==============================================================================
--- incubator/spamassassin/branches/b2_6_0/spamd/spamd.raw (original)
+++ incubator/spamassassin/branches/b2_6_0/spamd/spamd.raw Wed Jan 7 19:32:49 2004
@@ -641,7 +641,7 @@
if ($header eq 'User')
{
- if ($value !~ /^([\x20-\xFF]+)$/)
+ if ($value !~ /^([\x20-\xFF]*)$/)
{
protocol_error ("(User header contains control chars)");
return 1;
@@ -669,7 +669,7 @@
}
elsif ($header eq 'Content-length')
{
- if ($value !~ /^(\d+)$/)
+ if ($value !~ /^(\d*)$/)
{
protocol_error ("(Content-Length contains non-numeric bytes)");
return 1;