We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cea876 commit 863e099Copy full SHA for 863e099
src/TestReporter/ApiClient.php
@@ -82,7 +82,7 @@ private function sendWithCurl($url, $payload)
82
$curl,
83
CURLOPT_HTTPHEADER,
84
array(
85
- 'Host: codeclimate.com',
+ 'Host: ' . parse_url($this->apiHost, PHP_URL_HOST),
86
'Content-Type: application/json',
87
'User-Agent: Code Climate (PHP Test Reporter v' . Version::VERSION . ')',
88
'Content-Length: ' . strlen($payload),
0 commit comments