1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Anton Kalmykov's fix for dealing with form names with spaces!

This commit is contained in:
Daniel Stenberg 2001-06-25 09:39:35 +00:00
parent 303b3cf41c
commit fa601af722

View File

@ -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;