mirror of
https://github.com/curl/curl.git
synced 2026-07-11 13:17:16 +03:00
curl: prevent binary output spewed to terminal
... unless "--output -" is used. Binary detection is done by simply checking for a binary zero in early data. Added test 1425 1426 to verify. Closes #1512
This commit is contained in:
parent
ce2cc568f8
commit
5385450afd
10 changed files with 47 additions and 17 deletions
|
|
@ -1554,7 +1554,7 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */
|
|||
config->proxy_insecure_ok = toggle;
|
||||
break;
|
||||
|
||||
case '9':
|
||||
case '9': /* --proxy-tlsv1 */
|
||||
/* TLS version 1 for proxy */
|
||||
config->proxy_ssl_version = CURL_SSLVERSION_TLSv1;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue