mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 09:31:07 +00:00
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:
parent
d21429e189
commit
d606538c6f
2 changed files with 10 additions and 1 deletions
|
@ -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>
|
2013-09-09 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/Additions/GSMime.m: Add comments and a further fallback
|
* Source/Additions/GSMime.m: Add comments and a further fallback
|
||||||
|
|
|
@ -2370,10 +2370,14 @@ NSDebugMLLog(@"GSMime", @"Header parsed - %@", info);
|
||||||
{
|
{
|
||||||
DESTROY(child);
|
DESTROY(child);
|
||||||
child = [GSMimeParser new];
|
child = [GSMimeParser new];
|
||||||
if (flags.buggyQuotes == 1)
|
if (1 == flags.buggyQuotes)
|
||||||
{
|
{
|
||||||
[child setBuggyQuotes: YES];
|
[child setBuggyQuotes: YES];
|
||||||
}
|
}
|
||||||
|
if (1 == flags.isHttp)
|
||||||
|
{
|
||||||
|
[child setIsHttp];
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
* Tell child parser the default encoding to use.
|
* Tell child parser the default encoding to use.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue