mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
Fix to parse parameters in the URL of a POST with empty content. (#3398)
This commit is contained in:
parent
1bd1de0286
commit
3b60f75635
@ -205,6 +205,9 @@ bool ESP8266WebServer::_parseRequest(WiFiClient& client) {
|
|||||||
DEBUG_OUTPUT.println(plainBuf);
|
DEBUG_OUTPUT.println(plainBuf);
|
||||||
#endif
|
#endif
|
||||||
free(plainBuf);
|
free(plainBuf);
|
||||||
|
} else {
|
||||||
|
// No content - but we can still have arguments in the URL.
|
||||||
|
_parseArguments(searchStr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user