From 224ff0099952e48cfbaba02186aa455f1ea24a54 Mon Sep 17 00:00:00 2001 From: helge Date: Wed, 29 Aug 2007 21:39:20 +0000 Subject: [PATCH] fixed OGo #1905 git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1537 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-mime/ChangeLog | 10 +++++++++- sope-mime/NGImap4/ChangeLog | 7 ++++++- sope-mime/NGImap4/NGImap4Connection.m | 2 ++ sope-mime/Version | 2 +- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/sope-mime/ChangeLog b/sope-mime/ChangeLog index 8ede885a..ed0759c2 100644 --- a/sope-mime/ChangeLog +++ b/sope-mime/ChangeLog @@ -1,4 +1,12 @@ -2007-08-29 Wolfgang Sourdeau +2007-08-29 Helge Hess + + * MacOS Version overflow (v4.7.1) + +2007-08-24 Wolfgang Sourdeau + + * NGImap4: a fix for OGo bug #1905 (folders with slashes) (v4.7.255) + +2007-08-16 Wolfgang Sourdeau * NGImap4: added support for non-system IMAP4 flags (OGo bug #1899) (v4.7.254) diff --git a/sope-mime/NGImap4/ChangeLog b/sope-mime/NGImap4/ChangeLog index 1987048a..995727b0 100644 --- a/sope-mime/NGImap4/ChangeLog +++ b/sope-mime/NGImap4/ChangeLog @@ -1,4 +1,9 @@ -2007-08-29 Wolfgang Sourdeau +2007-08-24 Wolfgang Sourdeau + + * NGImap4Connection.m: some fix for folders ending with a slash (OGo + bug #1905) + +2007-08-16 Wolfgang Sourdeau * NGImap4Client.m: added support for non-system IMAP4 flags (eg $Forwarded) (fixes OGo bug #1899) diff --git a/sope-mime/NGImap4/NGImap4Connection.m b/sope-mime/NGImap4/NGImap4Connection.m index 00c8a9cb..c7a30dcc 100644 --- a/sope-mime/NGImap4/NGImap4Connection.m +++ b/sope-mime/NGImap4/NGImap4Connection.m @@ -751,6 +751,8 @@ NSArray *SOGoMailGetDirectChildren(NSArray *_array, NSString *_fn) { if ([p hasPrefix:@"/"]) p = [p substringFromIndex:1]; #endif + if ([p hasSuffix:@"/"]) + p = [p substringToIndex:[p length]-1]; return ([(NSDictionary *)result objectForKey:p] != nil) ? YES : NO; } diff --git a/sope-mime/Version b/sope-mime/Version index 2bbf29bb..4815fd2a 100644 --- a/sope-mime/Version +++ b/sope-mime/Version @@ -2,7 +2,7 @@ MAJOR_VERSION:=4 MINOR_VERSION:=7 -SUBMINOR_VERSION:=254 +SUBMINOR_VERSION:=1 # v4.5.214 requires libNGExtensions v4.5.146 # v4.2.149 requires libNGStreams v4.2.34 -- 2.39.5