We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21bc4f7 commit 605a014Copy full SHA for 605a014
java/server/src/org/openqa/grid/internal/utils/SelfRegisteringRemote.java
@@ -249,7 +249,7 @@ private void registerToHub(boolean checkPresenceFirst) {
249
BasicHttpEntityEnclosingRequest r =
250
new BasicHttpEntityEnclosingRequest("POST", registration.toExternalForm());
251
String json = nodeConfig.toJSON();
252
- r.setEntity(new StringEntity(json));
+ r.setEntity(new StringEntity(json,"UTF-8"));
253
254
HttpHost host = new HttpHost(registration.getHost(), registration.getPort());
255
HttpResponse response = client.execute(host, r);
0 commit comments