Monotone-Parent: 485f88abf48cd4cfca19756b2d50e4d01f48ed95

Monotone-Revision: 16389bba889c23c9a03ac425c27e5f4ede0fc4fd

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-09-05T00:19:21
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-09-05 00:19:21 +00:00
parent 32046a6d2e
commit cd45df0b75
2 changed files with 8 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
2008-09-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/MailPartViewers/UIxMailRenderingContext.m
([UIxMailRenderingContext -viewerForBodyInfo:_info]): add the
mixed viewer as the viewer for "multipart/digest" content.
* UI/MailPartViewers/UIxMailPartTextViewer.m (convertChars):
fixed a buffer overflow. Incremented the buffer size to 8192.

View File

@@ -208,7 +208,10 @@ static BOOL showNamedTextAttachmentsInline = NO;
if ([mt isEqualToString:@"multipart"])
{
if ([st isEqualToString:@"mixed"] || [st isEqualToString:@"related"] || [st isEqualToString: @"appledouble"])
if ([st isEqualToString:@"mixed"]
|| [st isEqualToString:@"digest"]
|| [st isEqualToString:@"related"]
|| [st isEqualToString: @"appledouble"])
return [self mixedViewer];
else if ([st isEqualToString:@"signed"])
return [self signedViewer];