We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3a886f commit 9973af4Copy full SHA for 9973af4
private/src/scripts/utils/url.js
@@ -45,7 +45,7 @@ export const objectToQueryString = (object) =>
45
val = objectToQueryString(object);
46
}
47
48
- return `${encodeURIComponent(prop)}=${encodeURIComponent(val).replace('%2C', ',')}`;
+ return `${encodeURIComponent(prop)}=${encodeURIComponent(val).replace(/%2C/g, ',')}`;
49
})
50
.filter(Boolean)
51
.join('&');
0 commit comments