mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-29 00:39:28 +00:00
fix(mail): don't open XML attachments in browser
This commit is contained in:
@@ -341,7 +341,7 @@
|
||||
NSMutableString *url;
|
||||
|
||||
st = [[bodyInfo valueForKey:@"subtype"] lowercaseString];
|
||||
if (!forDownload && [st isEqualToString: @"svg+xml"])
|
||||
if (!forDownload && [st hasSuffix: @"xml"])
|
||||
return nil;
|
||||
|
||||
bodyPart = [self clientPart];
|
||||
|
||||
Reference in New Issue
Block a user