summaryrefslogtreecommitdiff
path: root/lib/formdata.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-02-07 09:39:50 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-02-07 09:43:36 +0100
commit9597f7dfbc95564b0c19b7d7226cbab4e0144aaf (patch)
tree78f221300edffaacde0563d937be923cb2a98dbc /lib/formdata.c
parent7969a777350b41751560689cb94ea9bbb8f89e32 (diff)
downloadcurl-9597f7dfbc95564b0c19b7d7226cbab4e0144aaf.tar.gz
formpost: use semicolon in multipart/mixed
Not comma, which is an inconsistency and a mistake probably inherited from the examples section of RFC1867. This bug has been present since the day curl started to support multipart formposts, back in the 90s. Reported-by: Rob Davies Bug: http://curl.haxx.se/bug/view.cgi?id=1333
Diffstat (limited to 'lib/formdata.c')
-rw-r--r--lib/formdata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/formdata.c b/lib/formdata.c
index 4cb3e7a48..bdca3e770 100644
--- a/lib/formdata.c
+++ b/lib/formdata.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -1227,7 +1227,7 @@ CURLcode Curl_getformdata(struct SessionHandle *data,
}
result = AddFormDataf(&form, &size,
- "\r\nContent-Type: multipart/mixed,"
+ "\r\nContent-Type: multipart/mixed;"
" boundary=%s\r\n",
fileboundary);
if(result)