mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-20 14:13:19 +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:
@@ -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