Commit 5853c9ed authored by Ferenc Wagner's avatar Ferenc Wagner Committed by Alexandre Julliard

- Use a more unique separator string.

- Add some quoting to please CGI.pm-3.05.
parent 62d9963a
......@@ -113,14 +113,14 @@ send_file (const char *name)
int ret;
/* RFC 2068 */
#define SEP "-"
#define SEP "--8<--cut-here--8<--"
static const char head[] = "POST /submit HTTP/1.0\r\n"
"Host: test.winehq.org\r\n"
"User-Agent: Winetest Shell\r\n"
"Content-Type: multipart/form-data; boundary=" SEP "\r\n"
"Content-Type: multipart/form-data; boundary=\"" SEP "\"\r\n"
"Content-Length: %u\r\n\r\n";
static const char body1[] = "--" SEP "\r\n"
"Content-Disposition: form-data; name=reportfile; filename=\"%s\"\r\n"
"Content-Disposition: form-data; name=\"reportfile\"; filename=\"%s\"\r\n"
"Content-Type: application/octet-stream\r\n\r\n";
static const char body2[] = "\r\n--" SEP "\r\n"
"Content-Disposition: form-data; name=submit\r\n\r\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment