mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-09 22:07:12 +00:00
fix(mail): don't open XML attachments in browser
This commit is contained in:
1 parent
6eb5e97154
commit
d54dca9a1b
1 file changed
+1
-1
@@ -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