Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
stop incorrectingly increase number of arguments when setting up arg(…
…"plain")
  • Loading branch information
d-a-v committed Jun 12, 2022
commit d58d3d4da5f7f5c451bdc5bdb8183fa2b13978f4
2 changes: 1 addition & 1 deletion libraries/ESP8266WebServer/src/Parsing-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down