From 8851372f470acf5f46d68405bdc914935accd3ef Mon Sep 17 00:00:00 2001 From: Mauro Bartolomeoli Date: Mon, 11 Nov 2024 15:56:05 +0100 Subject: [PATCH] chore: fix typo --- .../cs/service/mail/message/parser/ParseMimeMessage.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/store/src/main/java/com/zimbra/cs/service/mail/message/parser/ParseMimeMessage.java b/store/src/main/java/com/zimbra/cs/service/mail/message/parser/ParseMimeMessage.java index b8f91a3fd7..bb6f235a38 100644 --- a/store/src/main/java/com/zimbra/cs/service/mail/message/parser/ParseMimeMessage.java +++ b/store/src/main/java/com/zimbra/cs/service/mail/message/parser/ParseMimeMessage.java @@ -4,7 +4,6 @@ package com.zimbra.cs.service.mail.message.parser; -import com.google.common.base.Charsets; import com.google.common.collect.ImmutableSet; import com.zimbra.common.account.ZAttrProvisioning; import com.zimbra.common.localconfig.LC; @@ -697,7 +696,7 @@ private static void attachMessage(MimeMultipart mmp, ItemId iid, String contentI } else { mbp.setDataHandler(new DataHandler(new MailboxBlobDataSource(msg.getBlob()))); mbp.setHeader("Content-Type", MimeConstants.CT_MESSAGE_RFC822); - mbp.setHeader("Content-Disposition", Part.ATTACHMENT + ";filename*=UTF-8''" + sanitizeFileName(msg.getSubject() + ".eml\"")); + mbp.setHeader("Content-Disposition", Part.ATTACHMENT + ";filename*=UTF-8''" + sanitizeFileName(msg.getSubject() + ".eml")); } mbp.setContentID(contentID); mmp.addBodyPart(mbp);