1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-23 08:45:22 +03:00

webserver: do not count "plain" in argument list (#6768)

* webserver: do not count "plain" in argument list (it is still available though)
This commit is contained in:
david gauchard
2020-07-13 12:40:27 +02:00
committed by GitHub
parent 1134194edc
commit e58bb60f87
3 changed files with 8 additions and 4 deletions

View File

@ -208,6 +208,7 @@ bool ESP8266WebServerTemplate<ServerType>::_parseRequest(ClientType& client) {
RequestArgument& arg = _currentArgs[_currentArgCount++];
arg.key = F("plain");
arg.value = plainBuf;
_currentArgsHavePlain = 1;
}
} else { // isForm is true
// here: content is not yet read (plainBuf is still empty)