We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7386f0 commit e798444Copy full SHA for e798444
JSONModel/JSONModelTransformations/JSONValueTransformer.m
@@ -202,7 +202,7 @@ -(NSString*)NSStringFromNSDecimalNumber:(NSDecimalNumber*)number
202
#pragma mark - string <-> url
203
-(NSURL*)NSURLFromNSString:(NSString*)string
204
{
205
- return [NSURL URLWithString:string];
+ return [NSURL URLWithString:[string stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
206
}
207
208
-(NSString*)JSONObjectFromNSURL:(NSURL*)url
0 commit comments