mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
96d75579bf
commit
d37e439f79
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>
|
2005-04-13 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
* ANNOUNCE, NEWS, Documentation/news.texi,
|
* ANNOUNCE, NEWS, Documentation/news.texi,
|
||||||
|
|
|
@ -2364,6 +2364,16 @@ NSDebugMLLog(@"GSMime", @"Header parsed - %@", info);
|
||||||
eol += 2;
|
eol += 2;
|
||||||
lastPart = YES;
|
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')
|
if (eol < dataEnd && bytes[eol] == '\r')
|
||||||
{
|
{
|
||||||
eol++;
|
eol++;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue