Ignore unknown chars from Base64 string

This commit is contained in:
Sebastián Katzer 2019-02-11 19:20:47 +01:00
parent 96a88759c5
commit 951348aee5

View File

@ -197,7 +197,7 @@
NSString* base64String = [url substringFromIndex:9];
return [[NSData alloc] initWithBase64EncodedString:base64String
options:0];
options:NSDataBase64DecodingIgnoreUnknownCharacters];
}
@end