fix: update qs.stringify to use repeat array format for url serialization

This commit is contained in:
Pragadesh-45
2025-06-19 20:01:36 +05:45
parent aebc8241cc
commit 4664fd60b5

View File

@@ -454,7 +454,7 @@ const registerNetworkIpc = (mainWindow) => {
// stringify the request url encoded params
if (request.headers['content-type'] === 'application/x-www-form-urlencoded') {
request.data = qs.stringify(request.data);
request.data = qs.stringify(request.data, { arrayFormat: "repeat" });
}
if (request.headers['content-type'] === 'multipart/form-data') {