Skip to content

Commit 4f8dfab

Browse files
committed
Fixed semicolon in User-Agent
1 parent 1119817 commit 4f8dfab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Elasticsearch/Connections/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function __construct(
136136

137137
// Add the User-Agent using the format: <client-repo-name>/<client-version> (metadata-values)
138138
$this->headers['User-Agent'] = [sprintf(
139-
"elasticsearch-php/%s (%s %s, PHP %s)",
139+
"elasticsearch-php/%s (%s %s; PHP %s)",
140140
Client::VERSION,
141141
php_uname("s"),
142142
php_uname("r"),

0 commit comments

Comments
 (0)