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]