See ChangeLog

Monotone-Parent: 36439821e42cfcb830bfff9081d7e1318f1e92ab
Monotone-Revision: be2628456056b13146b29cb36efc2deaf49d537f

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-04-14T21:16:45
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2011-04-14 21:16:45 +00:00
parent a87bba64b2
commit 71597fbdcf
2 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,8 @@
2011-04-14 Francis Lachapelle <flachapelle@inverse.ca>
* UI/MailerUI/UIxMailAccountActions.m (-composeAction): properly decode
submitted recipients and subjects (URL-encoded).
* SoObjects/SOGo/SOGoUserManager.m (-getImapLoginForUID:): we now
consider the source parameter IMAPLoginFieldName. We continue to support
SOGoForceIMAPLoginWithEmail at the domain/system level.

View File

@@ -30,6 +30,7 @@
#import <NGObjWeb/WOResponse.h>
#import <NGImap4/NGImap4Connection.h>
#import <NGImap4/NGImap4Client.h>
#import <NGExtensions/NSString+misc.h>
#import <Mailer/SOGoMailAccount.h>
#import <Mailer/SOGoDraftObject.h>
@@ -170,7 +171,7 @@
value = [[self request] formValueForKey: @"mailto"];
if ([value length] > 0)
{
mailTo = [value componentsSeparatedByString: @","];
mailTo = [[value stringByUnescapingURL] componentsSeparatedByString: @","];
[headers setObject: mailTo forKey: @"to"];
save = YES;
}
@@ -178,7 +179,7 @@
value = [[self request] formValueForKey: @"subject"];
if ([value length] > 0)
{
[headers setObject: value forKey: @"subject"];
[headers setObject: [value stringByUnescapingURL] forKey: @"subject"];
save = YES;
}