mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
dea07f458d
commit
614a2986ec
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>
|
2004-01-27 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/GSArray.m:
|
* Source/GSArray.m:
|
||||||
|
|
|
@ -936,7 +936,8 @@ nodeToObject(GSXMLNode* node, NSPropertyListMutabilityOptions o, NSString **e)
|
||||||
}
|
}
|
||||||
else if ([name isEqualToString: @"data"])
|
else if ([name isEqualToString: @"data"])
|
||||||
{
|
{
|
||||||
result = [GSMimeDocument decodeBase64String: content];
|
result = [GSMimeDocument decodeBase64:
|
||||||
|
[content dataUsingEncoding: NSASCIIStringEncoding]];
|
||||||
if (o == NSPropertyListMutableContainersAndLeaves)
|
if (o == NSPropertyListMutableContainersAndLeaves)
|
||||||
{
|
{
|
||||||
result = AUTORELEASE([result mutableCopy]);
|
result = AUTORELEASE([result mutableCopy]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue