1
0
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:
teejaydub 2017-08-07 12:04:03 -04:00 committed by Ivan Grokhotkov
parent 1bd1de0286
commit 3b60f75635

View File

@ -205,6 +205,9 @@ bool ESP8266WebServer::_parseRequest(WiFiClient& client) {
DEBUG_OUTPUT.println(plainBuf);
#endif
free(plainBuf);
} else {
// No content - but we can still have arguments in the URL.
_parseArguments(searchStr);
}
}