From 3a3f98029fba16a5514cac5c9bda1b7c225fd7f7 Mon Sep 17 00:00:00 2001 From: Artem Bondarenko Date: Wed, 17 Feb 2021 18:33:16 +0200 Subject: [PATCH] fix double urlencoding --- src/Api/HttpApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api/HttpApi.php b/src/Api/HttpApi.php index 2b11be7..a347c01 100644 --- a/src/Api/HttpApi.php +++ b/src/Api/HttpApi.php @@ -116,7 +116,7 @@ abstract class HttpApi protected function httpGet(string $path, array $parameters = [], array $requestHeaders = []): ResponseInterface { if (count($parameters) > 0) { - $path .= '?'.http_build_query($parameters); + $path .= '?'.urldecode(http_build_query($parameters)); } try {