Monotone-Parent: b0de250ad5fa2e4afb2daba52426ee8123e26ef1
Monotone-Revision: 6ab1e30417c6d736d1e01fa379f1ef179d460ba7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-04-12T13:57:41 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
820714fb17
commit
141933f9eb
|
@ -1,3 +1,10 @@
|
||||||
|
2011-04-12 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
|
|
||||||
|
* SoObjects/Mailer/SOGoDraftObject.m
|
||||||
|
(-bodyPartForAttachmentWithName:): don't choose "quoted-printable"
|
||||||
|
if the mimetype is anything else than "text/plain" or "text/html",
|
||||||
|
to avoid issues with filenames attached with a wrong mime type.
|
||||||
|
|
||||||
2011-04-12 Francis Lachapelle <flachapelle@inverse.ca>
|
2011-04-12 Francis Lachapelle <flachapelle@inverse.ca>
|
||||||
|
|
||||||
* SoObjects/Appointments/SOGoAppointmentFolder.m
|
* SoObjects/Appointments/SOGoAppointmentFolder.m
|
||||||
|
|
|
@ -1141,7 +1141,7 @@ static NSString *userAgent = nil;
|
||||||
|
|
||||||
if ((s = [self contentTypeForAttachmentWithName:_name]) != nil) {
|
if ((s = [self contentTypeForAttachmentWithName:_name]) != nil) {
|
||||||
[map setObject:s forKey: @"content-type"];
|
[map setObject:s forKey: @"content-type"];
|
||||||
if ([s hasPrefix: @"text/"])
|
if ([s hasPrefix: @"text/plain"] || [s hasPrefix: @"text/html"])
|
||||||
attachAsString = YES;
|
attachAsString = YES;
|
||||||
else if ([s hasPrefix: @"message/rfc822"])
|
else if ([s hasPrefix: @"message/rfc822"])
|
||||||
is7bit = YES;
|
is7bit = YES;
|
||||||
|
|
Loading…
Reference in a new issue