mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
928095d6c3
commit
5f3618ee95
3 changed files with 11 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue