Update UIxMailPartViewer.m

This commit is contained in:
ethoms
2015-11-04 07:33:28 +08:00
parent 6dc912eee5
commit 59c8a0f722
+1 -1
View File
@@ -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"],