Skip to content

Commit

Permalink
Update Request.php
Browse files Browse the repository at this point in the history
URLENCODE Fix
  • Loading branch information
digitaltim-de authored May 5, 2023
1 parent b907be4 commit 000dd95
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'].urlencoded($this->getUrl()) : $this->getUrl(),
$proxy['url'].urlencode($this->getUrl()) : $this->getUrl(),
CURLOPT_HEADER => $detailed,
CURLOPT_COOKIE => $cookies,
]
Expand Down

0 comments on commit 000dd95

Please sign in to comment.