Skip to content

Commit

Permalink
Merge remote-tracking branch 'blocktrron/fix-resourceName' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
bbottema committed Jul 12, 2020
2 parents ea2471d + 52bd831 commit 379207e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ private static BodyPart getBodyPartFromDatasource(final AttachmentResource attac
final String contentType = attachmentResource.getDataSource().getContentType();
ParameterList pl = new ParameterList();
pl.set("filename", fileName);
pl.set("name", resourceName);
pl.set("name", fileName);
attachmentPart.setHeader("Content-Type", contentType + pl.toString());
attachmentPart.setHeader("Content-ID", format("<%s>", resourceName));
attachmentPart.setDisposition(dispositionType);
Expand Down

0 comments on commit 379207e

Please sign in to comment.