[client] Fix spaces in search query parameter parsing

This commit is contained in:
Laura Hausmann 2023-11-19 04:15:27 +01:00
parent 4c12a8882e
commit 47d4b3aba1
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -113,7 +113,7 @@ const getUrlParams = () =>
.split("&")
.reduce((result, query) => {
const [k, v] = query.split("=");
result[k] = decodeURIComponent(v);
result[k] = decodeURIComponent(v.replace('+', '%20'));
return result;
}, {});