Replacing & in media path URLs.

This commit is contained in:
Roland 2023-08-20 16:06:16 -06:00
parent 052c3a0e19
commit 7db4bc65f0
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -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