summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-06-25 09:39:35 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-06-25 09:39:35 +0000
commitfa601af722c0701b812225ccf5da94b863983d61 (patch)
tree9b7538f37e2927845c6ad776d7c230f0120c4cf8
parent303b3cf41c005e4b26597467b2eb88c561dec5e2 (diff)
downloadgnurl-fa601af722c0701b812225ccf5da94b863983d61.tar.gz
gnurl-fa601af722c0701b812225ccf5da94b863983d61.tar.bz2
gnurl-fa601af722c0701b812225ccf5da94b863983d61.zip
Anton Kalmykov's fix for dealing with form names with spaces!
-rw-r--r--lib/formdata.c2
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;