Skip to content

Commit

Permalink
Fix security issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Jocelyn Cabildo authored and Jocelyn Cabildo committed Jan 6, 2025
1 parent ede1b5e commit aaaea41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ const CommunicationStructure = ({correspondence, currentIndex,
html2pdf().from(element).outputPdf('blob').then(async (blob) => {
blobs.push({name: "Email Body.pdf", lastModified: new Date(), input: blob})
const zipfile = await downloadZip(blobs).blob()
saveAs(zipfile, fullName + " " + correspondence.date.replace("|", "") + ".zip");
saveAs(zipfile, fullName + " " + correspondence.date.replace(/\|/g, "") + ".zip");
});
}

Expand Down

0 comments on commit aaaea41

Please sign in to comment.