See ChangeLog

Monotone-Parent: 30bbdf4da27d8db206b6667bf81195db2d889439
Monotone-Revision: b625ae81603b1c11c8c8244835607acd3e424a14

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2010-12-02T21:25:37
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2010-12-02 21:25:37 +00:00
parent 882392c57c
commit eeb4646138
2 changed files with 13 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2010-12-02 Ludovic Marcotte <lmarcotte@inverse.ca>
* Main/SOGo+DAV.m - we avoid assuming a range is found
and check for it, running no location if necessary
2010-12-01 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreContext.m: prevent leaks by adding an

View File

@@ -321,8 +321,16 @@
NSRange substringRange;
substringRange = [value rangeOfString: @"/SOGo/dav/"];
if (substringRange.location == NSNotFound)
return;
value = [value substringFromIndex: NSMaxRange (substringRange)];
substringRange = [value rangeOfString: @"/Calendar"];
if (substringRange.location == NSNotFound)
return;
value = [value substringToIndex: substringRange.location];
collection = [[SOGoUser userWithLogin: value]
homeFolderInContext: localContext];