mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-07 21:07:14 +00:00
Monotone-Parent: c2089bed4b31f45ef9635af961e76d25b48b6c39
Monotone-Revision: f730d4e278c5e0cd1036076335b97d03b2219fc1 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-06-05T15:45:10 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
980b7a592e
commit
f6749854a6
2 files changed
+11
No files matched your search
@@ -828,6 +828,12 @@ static BOOL kontactGroupDAV = YES;
|
||||
baseURL = [[self baseURLInContext: context] stringByUnescapingURL];
|
||||
path = [NSMutableArray arrayWithArray: [baseURL componentsSeparatedByString:
|
||||
@"/"]];
|
||||
if ([baseURL hasPrefix: @"http"])
|
||||
{
|
||||
[path removeObjectAtIndex: 2];
|
||||
[path removeObjectAtIndex: 1];
|
||||
[path removeObjectAtIndex: 0];
|
||||
}
|
||||
urlMethod = [path objectAtIndex: 2];
|
||||
if (![urlMethod isEqualToString: expected])
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user