Skip to content

Commit a1c20dc

Browse files
committed
Update Client.php
Allow any SSL protocol
1 parent 54dd8c1 commit a1c20dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JonnyW/PhantomJs/Client.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ protected function request(RequestInterface $request, ResponseInterface $respons
214214
);
215215

216216
$script = $this->writeScript($data);
217-
$cmd = escapeshellcmd(sprintf("%s %s", $this->phantomJS, $script));
217+
$cmd = escapeshellcmd(sprintf("%s --ssl-protocol=any %s", $this->phantomJS, $script));
218218

219219
$result = shell_exec($cmd);
220220
$result = $this->parse($result);

0 commit comments

Comments
 (0)