mirror of
https://gitlab.com/KevinRoebert/ClearUrls
synced 2025-12-15 21:55:36 +07:00
fix(tools): encode search uri params
This commit is contained in:
@@ -347,7 +347,7 @@ function urlSearchParamsToString(searchParams) {
|
||||
|
||||
searchParams.forEach((value, key) => {
|
||||
if (value) {
|
||||
rtn.push(key + '=' + value)
|
||||
rtn.push(key + '=' + encodeURIComponent(value))
|
||||
} else {
|
||||
rtn.push(key)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user