From b5f32e512932e1afed4e0b55e15a412b60891501 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 17 Dec 2007 21:10:58 +0000 Subject: [PATCH] Monotone-Parent: 348d7cfde7b84e4f271c58cd0b418303e0e045d1 Monotone-Revision: 2bfa9bbfe434c155e38912aec8785dc7fa44e272 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-12-17T21:10:58 Monotone-Branch: ca.inverse.sogo --- UI/MailerUI/UIxMailFolderActions.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UI/MailerUI/UIxMailFolderActions.m b/UI/MailerUI/UIxMailFolderActions.m index dcdfa6e69..bb28e284b 100644 --- a/UI/MailerUI/UIxMailFolderActions.m +++ b/UI/MailerUI/UIxMailFolderActions.m @@ -84,6 +84,8 @@ NSURL *destURL; path = [[srcURL path] stringByDeletingLastPathComponent]; + if (![path hasSuffix: @"/"]) + path = [path stringByAppendingString: @"/"]; destURL = [[NSURL alloc] initWithScheme: [srcURL scheme] host: [srcURL host]