From 005fb7875d495843296a0e3c356e0a51b964499b Mon Sep 17 00:00:00 2001 From: Jkorf Date: Tue, 13 Jan 2026 09:25:35 +0100 Subject: [PATCH] Fixed parameter URL creation for array values with ArrayParametersSerialization.MultipleValues --- CryptoExchange.Net/ExtensionMethods.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CryptoExchange.Net/ExtensionMethods.cs b/CryptoExchange.Net/ExtensionMethods.cs index 38a2adf..6f78e63 100644 --- a/CryptoExchange.Net/ExtensionMethods.cs +++ b/CryptoExchange.Net/ExtensionMethods.cs @@ -86,8 +86,12 @@ namespace CryptoExchange.Net } else if (serializationType == ArrayParametersSerialization.MultipleValues) { + bool firstArrayValue = true; foreach (var entry in (object[])parameter.Value) { + if (!firstArrayValue) + uriString.Append('&'); + firstArrayValue = false; uriString.Append(parameter.Key); uriString.Append("="); if (urlEncodeValues)