diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-06-25 09:39:35 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-06-25 09:39:35 +0000 |
commit | fa601af722c0701b812225ccf5da94b863983d61 (patch) | |
tree | 9b7538f37e2927845c6ad776d7c230f0120c4cf8 | |
parent | 303b3cf41c005e4b26597467b2eb88c561dec5e2 (diff) |
Anton Kalmykov's fix for dealing with form names with spaces!
-rw-r--r-- | lib/formdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |