Skip to content

Commit

Permalink
Merge pull request #13 from digitaltimde/4.x
Browse files Browse the repository at this point in the history
Update Request.php
  • Loading branch information
Allyans3 authored May 5, 2023
2 parents 137b406 + 000dd95 commit 75b77a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Engine/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'].$this->getUrl() : $this->getUrl(),
$proxy['url'].urlencode($this->getUrl()) : $this->getUrl(),
CURLOPT_HEADER => $detailed,
CURLOPT_COOKIE => $cookies,
]
Expand Down

0 comments on commit 75b77a3

Please sign in to comment.