Skip to content

Commit

Permalink
Workaround for Alexa Bug
Browse files Browse the repository at this point in the history
The PR for esp8266#4235

This esp8266#4151 is the same issue, but with a diffrent solution.
  • Loading branch information
reloxx13 authored Jan 24, 2018
1 parent 8a24598 commit 0ae3281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/ESP8266WebServer/src/Parsing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ bool ESP8266WebServer::_parseRequest(WiFiClient& client) {
searchStr += plainBuf;
}
_parseArguments(searchStr);
if(!isEncoded){
if(!isEncoded||(0==_currentArgCount)){ // @20180124OF01: Workarround for Alexa Bug
//plain post json or other data
RequestArgument& arg = _currentArgs[_currentArgCount++];
arg.key = "plain";
Expand Down

0 comments on commit 0ae3281

Please sign in to comment.