From 7db4bc65f00209f330ca7cf083c2167e2cfa6161 Mon Sep 17 00:00:00 2001 From: Roland Date: Sun, 20 Aug 2023 16:06:16 -0600 Subject: [PATCH] Replacing & in media path URLs. --- app/src/components/Common.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/components/Common.js b/app/src/components/Common.js index 816c6ade..96725457 100644 --- a/app/src/components/Common.js +++ b/app/src/components/Common.js @@ -1162,6 +1162,7 @@ export const encodeMediaPath = (path) => { // Replace % first to avoid replacing the other replacements. path = path.replaceAll('%', '%25'); + path = path.replaceAll('&', '%26'); path = path.replaceAll('#', '%23'); path = path.replaceAll(' ', '%20'); return path