summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorroot <jgh146exb@wizmail.org>2012-04-16 21:04:52 +0100
committerroot <jgh146exb@wizmail.org>2012-04-16 21:04:52 +0100
commitaa3de463f5eed2b8552c61624adbdac824f80951 (patch)
tree564dd7602124bb4822aba2c6bffb4082a73397c6 /src
parent48dc547000f0d1fa0bfea4040ee6ae71b530ef63 (diff)
parent7db8d07471d9e75fa506addff7f973c10a710895 (diff)
Merge remote branch 'origin'
Diffstat (limited to 'src')
-rw-r--r--src/src/smtp_in.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/src/smtp_in.c b/src/src/smtp_in.c
index e79f0a202..476bbf0c2 100644
--- a/src/src/smtp_in.c
+++ b/src/src/smtp_in.c
@@ -983,7 +983,8 @@ if (*v != '=') return FALSE;
n = v;
while(isalpha(n[-1])) n--;
-if (n[-1] != ' ') return FALSE;
+/* RFC says SP, but TAB seen in wild and other major MTAs accept it */
+if (!isspace(n[-1])) return FALSE;
n[-1] = 0;
*name = n;