We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6cb76d commit c720384Copy full SHA for c720384
search/engine/solr/classes/engine.php
@@ -1224,7 +1224,7 @@ public function get_curl_object() {
1224
1225
if (!empty($this->config->server_username) && !empty($this->config->server_password)) {
1226
$authorization = $this->config->server_username . ':' . $this->config->server_password;
1227
- $this->curl->setHeader('Authorization', 'Basic ' . base64_encode($authorization));
+ $this->curl->setHeader('Authorization: Basic ' . base64_encode($authorization));
1228
}
1229
1230
return $this->curl;
0 commit comments