diff --git a/src/Signature/SignatureV4.php b/src/Signature/SignatureV4.php index d13f9c3afc..e0e4297329 100644 --- a/src/Signature/SignatureV4.php +++ b/src/Signature/SignatureV4.php @@ -348,6 +348,11 @@ private function getCanonicalizedQuery(array $query) $qs = ''; ksort($query); foreach ($query as $k => $v) { + if(is_numeric($k)){ + $qs .= rawurlencode((string)$v) . '=&'; + continue; + } + if (!is_array($v)) { $qs .= rawurlencode($k) . '=' . rawurlencode($v !== null ? $v : '') . '&'; } else {