Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
j0k3r committed Oct 17, 2018
1 parent 4f4a79d commit 0c8fd4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SafeCurl.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function execute($url)

if ($this->getOptions()->getPinDns()) {
//Send a Host header
curl_setopt($this->curlHandle, CURLOPT_HTTPHEADER, array('Host: '.$url['host']));
curl_setopt($this->curlHandle, CURLOPT_HTTPHEADER, array('Host: ' . $url['host']));
//The "fake" URL
curl_setopt($this->curlHandle, CURLOPT_URL, $url['url']);
//We also have to disable SSL cert verfication, which is not great
Expand Down

0 comments on commit 0c8fd4f

Please sign in to comment.