Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding comma (,) as a percent escaped character since it's in the res…

…erved words per the RFC
  • Loading branch information...
commit 834afc20133033700d93cf896c913df9a2a4fc62 1 parent 711fab4
Marc Nijdam authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  AFOAuth1Client/AFOAuth1Client.m
View
2  AFOAuth1Client/AFOAuth1Client.m
@@ -62,7 +62,7 @@
}
static NSString * AFPercentEscapedQueryStringPairMemberFromStringWithEncoding(NSString *string, NSStringEncoding encoding) {
- static NSString * const kAFCharactersToBeEscaped = @":/?&=;+!@#$()~";
+ static NSString * const kAFCharactersToBeEscaped = @":/?&=;+!@#$()~',";
static NSString * const kAFCharactersToLeaveUnescaped = @"[].";
return (__bridge_transfer NSString *)CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault, (__bridge CFStringRef)string, (__bridge CFStringRef)kAFCharactersToLeaveUnescaped, (__bridge CFStringRef)kAFCharactersToBeEscaped, CFStringConvertNSStringEncodingToEncoding(encoding));
Please sign in to comment.
Something went wrong with that request. Please try again.