See ChangeLog

Monotone-Parent: 9450e3b1be295b0872d67069c597a4a4929f1b64
Monotone-Revision: d128523a11c890ea68c1606ab37270a6740d6e8e

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-12-19T22:50:40
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Ludovic Marcotte 2009-12-19 22:50:40 +00:00
parent cb860fcba6
commit aba2773d6c
3 changed files with 18 additions and 5 deletions

View File

@ -1,3 +1,12 @@
2009-12-19 Ludovic Marcotte <lmarcotte@inverse.ca>
* SoObjects/Appointments/SOGoUserFolder+Appointments.m
(_davPersonalCalendarURL): We make sure we handle the
presence or not of the trailing slash when we call
-davURLAsString on the parent object. See
http://www.scalableogo.org/bugs/view.php?id=74 for
all details.
2009-12-14 Ludovic Marcotte <lmarcotte@inverse.ca>
* UI/MailPartViewers/UIxMailPartHTMLViewer.m

View File

@ -1,6 +1,6 @@
/* SOGoUserFolder+Appointments.m - this file is part of SOGo
*
* Copyright (C) 2008 Inverse inc.
* Copyright (C) 2008-2009 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
@ -97,13 +97,17 @@
- (NSArray *) _davPersonalCalendarURL
{
NSArray *tag;
SOGoAppointmentFolders *parent;
NSArray *tag, *parentURL;
parent = [self privateCalendars: @"Calendar" inContext: context];
parentURL = [parent davURLAsString];
if ([parentURL hasSuffix: @"/"])
parentURL = [parentURL substringToIndex: [parentURL length]-1];
tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D",
[NSString stringWithFormat: @"%@personal/",
[parent davURLAsString]],
[NSString stringWithFormat: @"%@/personal/", parentURL],
nil];
return [NSArray arrayWithObject: tag];

View File

@ -162,7 +162,7 @@
- (NSString *) flatContentAsString
{
/* Note: we even have the line count in the body-info! */
NSString *s, *charset;
NSString *charset, *s;
NSData *content;
content = [self decodedFlatContent];