mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-26 09:36:02 -07:00
[client] Fix spaces in search query parameter parsing
This commit is contained in:
parent
4c12a8882e
commit
47d4b3aba1
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ const getUrlParams = () =>
|
||||||
.split("&")
|
.split("&")
|
||||||
.reduce((result, query) => {
|
.reduce((result, query) => {
|
||||||
const [k, v] = query.split("=");
|
const [k, v] = query.split("=");
|
||||||
result[k] = decodeURIComponent(v);
|
result[k] = decodeURIComponent(v.replace('+', '%20'));
|
||||||
return result;
|
return result;
|
||||||
}, {});
|
}, {});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue