From: Daniel Stenberg Date: Mon, 25 Jun 2001 09:39:35 +0000 (+0000) Subject: Anton Kalmykov's fix for dealing with form names with spaces! X-Git-Tag: curl-7_8_1-pre3~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa601af722c0701b812225ccf5da94b863983d61;p=curl Anton Kalmykov's fix for dealing with form names with spaces! --- diff --git a/lib/formdata.c b/lib/formdata.c index 656e4de1b..e7e0dd9ee 100644 --- a/lib/formdata.c +++ b/lib/formdata.c @@ -115,7 +115,7 @@ int FormParse(char *input, struct HttpPost *subpost; /* a sub-node */ unsigned int i; - if(1 <= sscanf(input, "%255[^ =] = %4095[^\n]", name, contents)) { + if(1 <= sscanf(input, "%255[^=]=%4095[^\n]", name, contents)) { /* the input was using the correct format */ contp = contents;