From 2328b16a65ce0849e7bdb68fc81cc0e82f56b16b Mon Sep 17 00:00:00 2001 From: grainsoft Date: Sat, 6 Jun 2026 03:26:00 +0300 Subject: [PATCH] updates --- src/core/Rt.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/core/Rt.js b/src/core/Rt.js index ccc4479..ed6dccd 100644 --- a/src/core/Rt.js +++ b/src/core/Rt.js @@ -171,7 +171,13 @@ export class Rt { if (reqOpts.vars instanceof FormData) { for (const [key, value] of reqOpts.vars.entries()) { - fdata.set(key, value); + + if (key.endsWith('[]')) { + fdata.append(key, value); + } + else { + fdata.set(key, value); + } } } else {