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:
parent
303b3cf41c
commit
fa601af722
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user