File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -149,14 +149,11 @@ - (BOOL) _configureProvider:(NSString *)providerName andConfig:(NSDictionary *)c
149
149
if ([name rangeOfString: @" _url" ].location != NSNotFound ) {
150
150
// This is a URL representation
151
151
NSString *urlStr = [config valueForKey: name];
152
- NSURL *url = [NSURL URLWithString: [urlStr
153
- stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding]];
152
+ NSURL *url = [NSURL URLWithString: urlStr];
154
153
[objectProps setObject: url forKey: name];
155
154
} else {
156
155
NSString *str = [NSString stringWithString: [config valueForKey: name]];
157
- NSString *escapedStr = [str
158
- stringByAddingPercentEncodingWithAllowedCharacters: [NSCharacterSet URLHostAllowedCharacterSet ]];
159
- [objectProps setValue: [escapedStr copy ] forKey: name];
156
+ [objectProps setValue: str forKey: name];
160
157
}
161
158
}
162
159
You can’t perform that action at this time.
0 commit comments