fixup for parsing nested http documents

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37056 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2013-09-09 09:40:03 +00:00
parent 4e647230cb
commit 4c142a7983
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-09-09 Pirmin Braun <pb@intars.de>
* Source/Additions/GSMime.m: When creating a child parser, pass on
the flag to say we are parsing HTTP rather than MIME.
2013-09-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Add comments and a further fallback

View file

@ -2370,10 +2370,14 @@ NSDebugMLLog(@"GSMime", @"Header parsed - %@", info);
{
DESTROY(child);
child = [GSMimeParser new];
if (flags.buggyQuotes == 1)
if (1 == flags.buggyQuotes)
{
[child setBuggyQuotes: YES];
}
if (1 == flags.isHttp)
{
[child setIsHttp];
}
/*
* Tell child parser the default encoding to use.
*/