mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 08:55:08 +00:00
Monotone-Parent: 35aeb39a4ff1d311050f0ab6cc5002f6896f9572
Monotone-Revision: 616921280c79198f2b2025ca567453d8d7d550e7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-10-15T14:52:02 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1164,7 +1164,7 @@ SEL SOGoSelectorForPropertySetter (NSString *property)
|
||||
{
|
||||
NSURL *serverURL, *url;
|
||||
NSMutableArray *path;
|
||||
NSString *baseURL, *urlMethod;
|
||||
NSString *baseURL, *urlMethod, *fullHost;
|
||||
|
||||
serverURL = [context serverURL];
|
||||
baseURL = [[self baseURLInContext: context] stringByUnescapingURL];
|
||||
@@ -1185,8 +1185,10 @@ SEL SOGoSelectorForPropertySetter (NSString *property)
|
||||
[path insertObject: expected atIndex: 2];
|
||||
}
|
||||
|
||||
fullHost = [NSString stringWithFormat: @"%@:%@",
|
||||
[serverURL host], [serverURL port]];
|
||||
url = [[NSURL alloc] initWithScheme: [serverURL scheme]
|
||||
host: [serverURL host]
|
||||
host: fullHost
|
||||
path: [path componentsJoinedByString: @"/"]];
|
||||
[url autorelease];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user