mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 19:35:38 +00:00
Monotone-Parent: 56874b8e1d2260289bbdde17c8dbc01a15f354e7
Monotone-Revision: d3036531db8d8c0e298e79e7bba85298dba88acd Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-09-17T22:39:40 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
2008-09-17 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/MailPartViewers/UIxMailPartViewer.m ([UIxMailPartViewer
|
||||
-decodedFlatContent]): same as below...
|
||||
|
||||
* SoObjects/Mailer/NSData+Mail.m ([NSData
|
||||
-bodyDataFromEncoding:encoding]): invoke
|
||||
"dataByDecodingQuotedPrintableTransferEncoding" on the NSData
|
||||
instance to avoid decoding "_" chars.
|
||||
|
||||
2008-09-17 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/MailerUI/UIxMailAccountActions.m ([WOResponse
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
else if ([realEncoding isEqualToString: @"base64"])
|
||||
decodedData = [self dataByDecodingBase64];
|
||||
else if ([realEncoding isEqualToString: @"quoted-printable"])
|
||||
decodedData = [self dataByDecodingQuotedPrintable];
|
||||
decodedData = [self dataByDecodingQuotedPrintableTransferEncoding];
|
||||
else
|
||||
{
|
||||
decodedData = nil;
|
||||
|
||||
@@ -112,6 +112,7 @@
|
||||
return flatContent;
|
||||
}
|
||||
|
||||
#warning we should use NSData+Mail's bodyDataFromEncoding: instead
|
||||
- (NSData *) decodedFlatContent
|
||||
{
|
||||
NSString *enc;
|
||||
@@ -128,7 +129,7 @@
|
||||
return [[self flatContent] dataByDecodingBase64];
|
||||
|
||||
if ([enc isEqualToString:@"quoted-printable"])
|
||||
return [[self flatContent] dataByDecodingQuotedPrintable];
|
||||
return [[self flatContent] dataByDecodingQuotedPrintableTransferEncoding];
|
||||
|
||||
[self errorWithFormat:@"unsupported MIME encoding: %@", enc];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user