1
0
mirror of https://github.com/JKorf/CryptoExchange.Net synced 2026-02-16 14:13:46 +00:00

Fixed parameter URL creation for array values with ArrayParametersSerialization.MultipleValues

This commit is contained in:
Jkorf 2026-01-13 09:25:35 +01:00
parent fa9300ce97
commit 005fb7875d

View File

@ -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)