From fecc3adbdb8f26a3052e83f9f1a64c319fe111a4 Mon Sep 17 00:00:00 2001 From: Kris Bloe Date: Thu, 26 Sep 2024 16:45:00 +0100 Subject: [PATCH] [PRMP-925] Added encodeURIComponent for description --- src/services/mhs/mhs-attachments-wrangler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/mhs/mhs-attachments-wrangler.js b/src/services/mhs/mhs-attachments-wrangler.js index 5ee0d247..171998a9 100644 --- a/src/services/mhs/mhs-attachments-wrangler.js +++ b/src/services/mhs/mhs-attachments-wrangler.js @@ -88,7 +88,7 @@ async function extractManifestReferences(mhsJsonMessage) { } function extractDescription(attachmentReference) { - const description = attachmentReference.Description.innerText; + const description = encodeURIComponent(attachmentReference.Description.innerText); return description; }