mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
unescape relativePath
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36146 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e6ac9d4929
commit
2f975e0606
2 changed files with 6 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
* Source/NSPredicate.m: updates to output correct predicate format
|
||||
for binary operators.
|
||||
* Source/NSURL.m: unescape data for -relativePath
|
||||
|
||||
2013-02-10 Marcus Muller <znek@mulle-kybernetik.com>
|
||||
|
||||
|
|
|
@ -1714,7 +1714,11 @@ static NSUInteger urlAlign;
|
|||
|
||||
if (myData->path != 0)
|
||||
{
|
||||
path = [NSString stringWithUTF8String: myData->path];
|
||||
char buf[strlen(myData->path) + 1];
|
||||
|
||||
strcpy(buf, myData->path);
|
||||
unescape(buf, buf);
|
||||
path = [NSString stringWithUTF8String: buf];
|
||||
}
|
||||
return path;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue