patch for bug 35685 by Jens Alfke <jens@mooseyard.com>

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34857 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2012-03-02 07:07:43 +00:00
parent 5393256ae6
commit 16ff2d0e26
3 changed files with 11 additions and 4 deletions

View file

@ -1,3 +1,10 @@
2012-03-01 Jens Alfke <jens@mooseyard.com>
* Source/NSString.m:
* Source/NSURL.m:
Fix decoding of percent escapes with uppercase hex values
(bug #35685)
2012-03-01 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSString.m: Implement a codepath using ICU for

View file

@ -4216,7 +4216,7 @@ static NSFileManager *fm = nil;
{
c = t - '0';
}
else if (t <= 'A')
else if (t <= 'F')
{
c = t - 'A' + 10;
}
@ -4244,7 +4244,7 @@ static NSFileManager *fm = nil;
{
c |= t - '0';
}
else if (t <= 'A')
else if (t <= 'F')
{
c |= t - 'A' + 10;
}

View file

@ -1013,7 +1013,7 @@ static NSUInteger urlAlign;
{
c = *str - '0';
}
else if (*str <= 'A')
else if (*str <= 'F')
{
c = *str - 'A' + 10;
}
@ -1027,7 +1027,7 @@ static NSUInteger urlAlign;
{
c |= *str - '0';
}
else if (*str <= 'A')
else if (*str <= 'F')
{
c |= *str - 'A' + 10;
}