namshi / cuzzle

This library let's you dump a Guzzle request to a cURL command for debug and log purpose.
https://github.com/namshi/cuzzle
330 stars 67 forks source link

Add support for formatting large request bodies #22

Open adduc opened 6 years ago

adduc commented 6 years ago

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

bigfoot90 commented 2 years ago

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.