mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fixed bug in decoding key encoded data elements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18492 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cb7a4b0777
commit
2878a6472f
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-01-27 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSPropertyList.m (nodeToObject()): Fixed bug in handling
|
||||
of data elements. Was using [GSMimeDocument decodeBase64String:]
|
||||
instead of [GSMimeDocument decodeBase64:].
|
||||
|
||||
2004-01-27 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/GSArray.m:
|
||||
|
|
|
@ -936,7 +936,8 @@ nodeToObject(GSXMLNode* node, NSPropertyListMutabilityOptions o, NSString **e)
|
|||
}
|
||||
else if ([name isEqualToString: @"data"])
|
||||
{
|
||||
result = [GSMimeDocument decodeBase64String: content];
|
||||
result = [GSMimeDocument decodeBase64:
|
||||
[content dataUsingEncoding: NSASCIIStringEncoding]];
|
||||
if (o == NSPropertyListMutableContainersAndLeaves)
|
||||
{
|
||||
result = AUTORELEASE([result mutableCopy]);
|
||||
|
|
Loading…
Reference in a new issue