laravel-shift/curl-converter
Better handling of values containing backslashes
Aperta
#20 aperta il 17 ott 2022
good first issue
Metriche repository
- Star
- (93 stelle)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
Currently backslashes (and possibly other characters) are being lost from values as they are passed through Artisan. These need to be escaped so they are preserved in the final output. An appropriately placed call to addslashes should to the trick.
Example curl command:
curl --request POST https://example.com/pdf/extract --header 'Content-Type: multipart/form-data' --form 'file=C:\Users\secret\files\007.pdf'