mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 12:05:06 -05:00
ARGH the CRLF I removed recently was not only done after the initial
content-type header, it was used for each part and thus without this it failed MISERABLY. *smacks forhead*
This commit is contained in:
parent
afa64ee31f
commit
b544c5fa5c
@ -1065,6 +1065,9 @@ struct FormData *Curl_getFormData(struct HttpPost *post,
|
||||
|
||||
do {
|
||||
|
||||
if(size)
|
||||
size += AddFormDataf(&form, "\r\n");
|
||||
|
||||
/* boundary */
|
||||
size += AddFormDataf(&form, "--%s\r\n", boundary);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user