Skip to content

Commit 6a8437e

Browse files
sandulucaOndraM
authored andcommitted
Update HttpCommandExecutor.php
unescape slashes when encode params
1 parent 4bb529f commit 6a8437e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Remote/HttpCommandExecutor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ public function execute(WebDriverCommand $command)
326326
$url
327327
);
328328
if (is_array($params) && !empty($params)) {
329-
$msg .= sprintf(' with params: %s', json_encode($params));
329+
$msg .= sprintf(' with params: %s', json_encode($params, JSON_UNESCAPED_SLASHES));
330330
}
331331

332332
throw new WebDriverCurlException($msg . "\n\n" . $error);

0 commit comments

Comments
 (0)