Skip to content

Commit

Permalink
fix(tools): encode search uri params
Browse files Browse the repository at this point in the history
  • Loading branch information
SunsetTechuila committed Jan 27, 2025
1 parent 0011b78 commit d33a86c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core_js/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit d33a86c

Please sign in to comment.