Improved special character handling in manticore and URL query.
This commit is contained in:
@@ -16,7 +16,7 @@ function getQuery(data) {
|
||||
|
||||
const curatedQuery = Object.fromEntries(Object.entries(data).map(([key, value]) => (value === undefined ? null : [key, value])).filter(Boolean));
|
||||
|
||||
return `?${encodeURI(decodeURIComponent(new URLSearchParams(curatedQuery).toString()))}`; // recode so commas aren't encoded
|
||||
return `?${new URLSearchParams(curatedQuery).toString()}`; // recode so commas aren't encoded
|
||||
}
|
||||
|
||||
function showFeedback(isSuccess, options = {}, errorMessage) {
|
||||
|
||||
Reference in New Issue
Block a user