diff --git a/src/Engine/Request.php b/src/Engine/Request.php index fc2933f..2d5d876 100644 --- a/src/Engine/Request.php +++ b/src/Engine/Request.php @@ -62,7 +62,7 @@ private function makeSingleRequest(array $proxy = [], string $cookies = '', bool CURLOPT_HTTPHEADER => self::mergeHeaders($this->getHeaders()), CURLOPT_URL => $this->getUrl(), CURLOPT_URL => (array_key_exists('url', $proxy)) ? - $proxy['url'].urlencoded($this->getUrl()) : $this->getUrl(), + $proxy['url'].urlencode($this->getUrl()) : $this->getUrl(), CURLOPT_HEADER => $detailed, CURLOPT_COOKIE => $cookies, ]