mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-02-18 05:43:15 +03:00
fix double urlencoding
This commit is contained in:
parent
44a30f7dd1
commit
3a3f98029f
@ -116,7 +116,7 @@ abstract class HttpApi
|
|||||||
protected function httpGet(string $path, array $parameters = [], array $requestHeaders = []): ResponseInterface
|
protected function httpGet(string $path, array $parameters = [], array $requestHeaders = []): ResponseInterface
|
||||||
{
|
{
|
||||||
if (count($parameters) > 0) {
|
if (count($parameters) > 0) {
|
||||||
$path .= '?'.http_build_query($parameters);
|
$path .= '?'.urldecode(http_build_query($parameters));
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user