mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
stop incorrectingly increase number of arguments when setting up arg("plain") (#8599)
This commit is contained in:
parent
b7c1cfbc45
commit
9ace4ed849
@ -182,7 +182,7 @@ typename ESP8266WebServerTemplate<ServerType>::ClientFuture ESP8266WebServerTemp
|
||||
if (!isForm) {
|
||||
if (contentLength) {
|
||||
// add key=value: plain={body} (post json or other data)
|
||||
RequestArgument& arg = _currentArgs[_currentArgCount++];
|
||||
RequestArgument& arg = _currentArgs[_currentArgCount];
|
||||
arg.key = F("plain");
|
||||
arg.value = plainBuf;
|
||||
_currentArgsHavePlain = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user