mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Decode URI componentes in GET dictionary
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -494,7 +494,7 @@ function parseQueryString(queryString = window.location.search) {
|
||||
.substr(1)
|
||||
.split("&")
|
||||
.forEach(function (item) {
|
||||
GETDict[item.split("=")[0]] = item.split("=")[1];
|
||||
GETDict[item.split("=")[0]] = decodeURIComponent(item.split("=")[1]);
|
||||
});
|
||||
|
||||
return GETDict;
|
||||
|
||||
Reference in New Issue
Block a user