mirror of
https://github.com/curl/curl.git
synced 2026-07-22 21:27:15 +03:00
Anton Kalmykov's fix for dealing with form names with spaces!
This commit is contained in:
parent
303b3cf41c
commit
fa601af722
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue