Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

don't escape tildes as per http://oauth.net/core/1.0/ and http://tool…

  • Loading branch information...
commit e656b0e09dc3ff1490933f87cbe3bb80d39ae525 1 parent f98e76f
@joein3d joein3d 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.