(fix) we no longer always rewrite emails for Outlook when using EAS

pull/110/head
Ludovic Marcotte 2015-10-14 09:29:52 -04:00
parent 4e9911419a
commit ea24e9586b
2 changed files with 2 additions and 1 deletions

View File

@ -541,7 +541,7 @@ struct GlobalObjectId {
// We sanitize the content *ONLY* for Outlook clients and if the content-transfer-encoding is 8bit. Outlook has strange issues
// with quoted-printable/base64 encoded text parts. It just doesn't decode them.
encoding = [[self lookupInfoForBodyPart: @""] objectForKey: @"encoding"];
if ([[context objectForKey: @"DeviceType"] isEqualToString: @"WindowsOutlook15"] || ([encoding caseInsensitiveCompare: @"8bit"] == NSOrderedSame))
if (encoding && ([encoding caseInsensitiveCompare: @"8bit"] == NSOrderedSame))
d = [self _sanitizedMIMEMessage];
else
d = [self content];

1
NEWS
View File

@ -4,6 +4,7 @@
New features
Enhancements
- we no longer always entirely rewrite messages for Outlook 2013 when using EAS
Bug fixes
- numerous EAS fixes when connections are dropped before the EAS client receives the response (#3058, #2849)