From 59c8a0f722706989a1a49863792d2171db26dd0f Mon Sep 17 00:00:00 2001 From: ethoms Date: Wed, 4 Nov 2015 07:33:28 +0800 Subject: [PATCH] Update UIxMailPartViewer.m --- UI/MailPartViewers/UIxMailPartViewer.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/MailPartViewers/UIxMailPartViewer.m b/UI/MailPartViewers/UIxMailPartViewer.m index ec8d1897d..816627d19 100644 --- a/UI/MailPartViewers/UIxMailPartViewer.m +++ b/UI/MailPartViewers/UIxMailPartViewer.m @@ -287,7 +287,7 @@ if ([filename length]) // We replace any slash by a dash since Apache won't allow encoded slashes by default. // See http://httpd.apache.org/docs/2.2/mod/core.html#allowencodedslashes - filename = [[filename stringByReplacingString: @"/" withString: @"-"] mutableCopy]; + filename = (NSMutableString *)[filename stringByReplacingString: @"/" withString: @"-"]; else [filename appendFormat: @"%@-%@", [self labelForKey: @"Untitled"],