File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 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
149149 if ([name rangeOfString: @" _url" ].location != NSNotFound ) {
150150 // This is a URL representation
151151 NSString *urlStr = [config valueForKey: name];
152- NSURL *url = [NSURL URLWithString: [urlStr
153- stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding]];
152+ NSURL *url = [NSURL URLWithString: urlStr];
154153 [objectProps setObject: url forKey: name];
155154 } else {
156155 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];
160157 }
161158 }
162159
You can’t perform that action at this time.
0 commit comments