Skip to content

Commit 866f344

Browse files
committed
Merge pull request #4 from Aerowalk/master
Update Client.php
2 parents bb1b2e9 + a1c20dc commit 866f344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/JonnyW/PhantomJs/Client.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ protected function request(RequestInterface $request, ResponseInterface $respons
220220
);
221221

222222
$script = $this->writeScript($data);
223-
$cmd = escapeshellcmd(sprintf("%s %s", $this->phantomJS, $script));
223+
$cmd = escapeshellcmd(sprintf("%s --ssl-protocol=any %s", $this->phantomJS, $script));
224224

225225
$result = shell_exec($cmd);
226226
$result = $this->parse($result);

0 commit comments

Comments
 (0)