mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 04:15:26 +00:00
Monotone-Parent: d7b615d5687e4c138413b9ed635b046e284d5e5b
Monotone-Revision: 027183f8ed3eb9e03f14555acbea16e275ab2933 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-02-08T16:20:29 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
2008-02-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Mailer/SOGoMailAccount.m ([SOGoMailAccount
|
||||
-_urlHostString]): replace "@" with %40 AFTER invoking
|
||||
stringByEscapingURL.
|
||||
|
||||
* SoObjects/Mailer/SOGoMailBaseObject.m ([SOGoMailBaseObject
|
||||
-isBodyPartKey:key]): hacked a little bit to test for the length
|
||||
of the key trimmed from its bordering digits. So if the key
|
||||
|
||||
@@ -256,8 +256,8 @@ static NSString *otherUsersFolderName = @""; // TODO: add English default
|
||||
{
|
||||
username = [mailAccount objectForKey: @"userName"];
|
||||
escUsername
|
||||
= [[username stringByReplacingString: @"@" withString: @"%40"]
|
||||
stringByEscapingURL];
|
||||
= [[username stringByEscapingURL] stringByReplacingString: @"@"
|
||||
withString: @"%40"];
|
||||
hostString = [NSString stringWithFormat: @"%@@%@", escUsername,
|
||||
[mailAccount objectForKey: @"serverName"]];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user