Ignore unknown chars from Base64 string
This commit is contained in:
parent
96a88759c5
commit
951348aee5
@ -197,7 +197,7 @@
|
||||
NSString* base64String = [url substringFromIndex:9];
|
||||
|
||||
return [[NSData alloc] initWithBase64EncodedString:base64String
|
||||
options:0];
|
||||
options:NSDataBase64DecodingIgnoreUnknownCharacters];
|
||||
}
|
||||
|
||||
@end
|
||||
|
Loading…
Reference in New Issue
Block a user