Skip to content

Commit

Permalink
Increased JSON max depth in AbstractHttpCommandCodec to 100 so that A…
Browse files Browse the repository at this point in the history
…xeBuilder.analyze() does not fail when processing results.

See comments on SeleniumHQ#12205
  • Loading branch information
heathr committed Aug 21, 2023
1 parent 692d228 commit 31bb6eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ public HttpRequest encode(Command command) {
HttpRequest request = new HttpRequest(spec.method, uri);

if (HttpMethod.POST == spec.method) {
String content = json.toJson(parameters);
String content = json.toJson(parameters, 100);
byte[] data = content.getBytes(UTF_8);

request.setHeader(CONTENT_LENGTH, String.valueOf(data.length));
Expand Down

0 comments on commit 31bb6eb

Please sign in to comment.