diff options
author | root <jgh146exb@wizmail.org> | 2012-04-16 21:04:52 +0100 |
---|---|---|
committer | root <jgh146exb@wizmail.org> | 2012-04-16 21:04:52 +0100 |
commit | aa3de463f5eed2b8552c61624adbdac824f80951 (patch) | |
tree | 564dd7602124bb4822aba2c6bffb4082a73397c6 /src | |
parent | 48dc547000f0d1fa0bfea4040ee6ae71b530ef63 (diff) | |
parent | 7db8d07471d9e75fa506addff7f973c10a710895 (diff) |
Merge remote branch 'origin'
Diffstat (limited to 'src')
-rw-r--r-- | src/src/smtp_in.c | 3 |
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; |