Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #713 from ericflo/patch-1

Added single quote to the chars to escape
  • Loading branch information...
commit 0c74a59a3ee4a40fa27b7a8d663aa7070c39ea11 2 parents 121ef7a + a610a89
@mattt mattt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  AFNetworking/AFHTTPClient.m
View
2  AFNetworking/AFHTTPClient.m
@@ -81,7 +81,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.