From fa601af722c0701b812225ccf5da94b863983d61 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 25 Jun 2001 09:39:35 +0000 Subject: Anton Kalmykov's fix for dealing with form names with spaces! --- lib/formdata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3