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:
Wolfgang Sourdeau
2008-02-08 16:20:29 +00:00
parent 867767c121
commit a248c60b82
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -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
+2 -2
View File
@@ -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"]];
}