mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Replacing & in media path URLs.
This commit is contained in:
parent
052c3a0e19
commit
7db4bc65f0
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue