Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #38 from Picturelife/master

Don't Escape Tildes as per Instructions in RFC 3986 and OAuth 1.0 Spec
  • Loading branch information...
commit df5613b12ca0616ccd55b32badebfcfafc86a035 2 parents f98e76f + e656b0e
Mattt Thompson mattt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  AFOAuth1Client/AFOAuth1Client.m
2  AFOAuth1Client/AFOAuth1Client.m
View
@@ -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.