fix double urlencoding

This commit is contained in:
Artem Bondarenko 2021-02-17 18:33:16 +02:00 committed by David Garcia
parent 44a30f7dd1
commit 3a3f98029f

View File

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