mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
iAdd workaround for a mail client bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21107 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7a8b76f118
commit
c0c319001e
2 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-04-14 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/Additions/GSMime.m: Add tweak to cope with buggy mailers
|
||||
which insert space after the boundary in a multipart document.
|
||||
|
||||
2005-04-13 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* ANNOUNCE, NEWS, Documentation/news.texi,
|
||||
|
|
|
@ -2364,6 +2364,16 @@ NSDebugMLLog(@"GSMime", @"Header parsed - %@", info);
|
|||
eol += 2;
|
||||
lastPart = YES;
|
||||
}
|
||||
/*
|
||||
* Ignore space/tab characters after boundry marker
|
||||
* and before crlf. Strictly this is wrong ... but
|
||||
* at least one mailer generates bogus whitespace here.
|
||||
*/
|
||||
while (eol < dataEnd
|
||||
&& (bytes[eol] == ' ' || bytes[eol] == '\t'))
|
||||
{
|
||||
eol++;
|
||||
}
|
||||
if (eol < dataEnd && bytes[eol] == '\r')
|
||||
{
|
||||
eol++;
|
||||
|
|
Loading…
Reference in a new issue