From 0c8fd4fc571644a2c59c2e2d310a5101238fa183 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Wed, 17 Oct 2018 13:30:33 +0200 Subject: [PATCH] CS --- src/SafeCurl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SafeCurl.php b/src/SafeCurl.php index 5d1510c..98dae6a 100644 --- a/src/SafeCurl.php +++ b/src/SafeCurl.php @@ -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