Improved special character handling in manticore and URL query.
This commit is contained in:
@@ -9,7 +9,7 @@ export default function navigate(path, query, options = {}) {
|
||||
}).toString();
|
||||
|
||||
const url = queryString
|
||||
? `${path}?${encodeURI(decodeURIComponent(queryString))}` // URLSearchParams encodes commas, we don't want that
|
||||
? `${path}?${queryString.replace(/%2C/g, ',')}` // URLSearchParams encodes commas, we don't want that
|
||||
: path;
|
||||
|
||||
if (options.redirect) {
|
||||
|
||||
Reference in New Issue
Block a user