Skip to content

Commit

Permalink
Update the patch #67791 In order to avoid files corraption in case th…
Browse files Browse the repository at this point in the history
…e files are sent twice.
  • Loading branch information
DmitrySavushkin committed Aug 30, 2018
1 parent 705bad1 commit 849de66
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public void AddAttachments(ProcessMessageArgs args)
else
{
var fileFromRequest = GetFileFromRequest(result.FieldID);
fileFromRequest.InputStream.Position = 0;
if (fileFromRequest != null)
{
args.Attachments.Add(new Attachment(fileFromRequest.InputStream, fileFromRequest.FileName, fileFromRequest.ContentType));
Expand Down

0 comments on commit 849de66

Please sign in to comment.