Skip to content

Commit 0ae3281

Browse files
authored
Workaround for Alexa Bug
The PR for esp8266#4235 This esp8266#4151 is the same issue, but with a diffrent solution.
1 parent 8a24598 commit 0ae3281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP8266WebServer/src/Parsing.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ bool ESP8266WebServer::_parseRequest(WiFiClient& client) {
190190
searchStr += plainBuf;
191191
}
192192
_parseArguments(searchStr);
193-
if(!isEncoded){
193+
if(!isEncoded||(0==_currentArgCount)){ // @20180124OF01: Workarround for Alexa Bug
194194
//plain post json or other data
195195
RequestArgument& arg = _currentArgs[_currentArgCount++];
196196
arg.key = "plain";

0 commit comments

Comments
 (0)