PHP's escapeshellarg throws a fatal error on bad input (null bytes, strings that are too long). To workaround this, use symfony/process to escape arguments instead.
Version 3 of symfony/process was used instead of 4 because of Cuzzle's support for PHP 5.5
This repo seems to be unmaintained now.
This same task was accomplished by a forked repository https://github.com/octoper/cuzzle/pull/1/files
@adduc Please open a new MR on october/cuzzle repo, and post. this same fix.
PHP's escapeshellarg throws a fatal error on bad input (null bytes, strings that are too long). To workaround this, use symfony/process to escape arguments instead.
Version 3 of symfony/process was used instead of 4 because of Cuzzle's support for PHP 5.5
Solves #20