mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix error in last mod
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16328 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7bd1a0abc0
commit
18dbed39ca
2 changed files with 5 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
content of elements rather than just text nodes.
|
||||
* Source/GSMime.m: ([-rawMimeData]) ensure that the transfer encoding
|
||||
of a multipart document is 8bit if any of its constituent parts are
|
||||
not 7bit
|
||||
8bit or binary
|
||||
|
||||
22003-04-01 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -3878,7 +3878,7 @@ static NSCharacterSet *tokenSet = nil;
|
|||
|
||||
enc = [part headerNamed: @"content-transfer-encoding"];
|
||||
v = [enc value];
|
||||
if ([v isEqual: @"7bit"] == NO)
|
||||
if ([v isEqual: @"8bit"] == YES || [v isEqual: @"binary"] == YES)
|
||||
{
|
||||
is7bit = NO;
|
||||
}
|
||||
|
@ -4010,7 +4010,9 @@ static NSCharacterSet *tokenSet = nil;
|
|||
{
|
||||
NSString *charset = [type parameterForKey: @"charset"];
|
||||
|
||||
if ([charset isEqual: @"ascii"] || [charset isEqual: @"us-ascii"])
|
||||
if (charset == nil
|
||||
|| [charset isEqual: @"ascii"]
|
||||
|| [charset isEqual: @"us-ascii"])
|
||||
{
|
||||
enc = [enc initWithName: @"content-transfer-encoding"
|
||||
value: @"7bit"
|
||||
|
|
Loading…
Reference in a new issue