mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
[client] Fix spaces in search query parameter parsing
This commit is contained in:
parent
4c12a8882e
commit
47d4b3aba1
@ -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;
|
||||
}, {});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user