8000 fix parseArgument #2 by d-a-v · Pull Request #5252 · esp8266/Arduino · GitHub
[go: up one dir, main page]

Skip to content

fix parseArgument #2 #5252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Oct 17, 2018
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
inviting Alexa
  • Loading branch information
d-a-v committed Oct 11, 2018
commit ac47a03d619e49235de7bcc3534943e11410d4af
4 changes: 3 additions & 1 deletion libraries/ESP8266WebServer/src/Parsing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ bool ESP8266WebServer::_parseRequest(WiFiClient& client) {
searchStr += plainBuf;
}
_parseArguments(searchStr);
if(!isEncoded){
if ( !isEncoded
|| (0 == _currentArgCount) // Alexa fix https://github.com/arendst/Sonoff-Tasmota/issues/1639#issuecomment-359253011
) {
//plain post json or other data
RequestArgument& arg = _currentArgs[_currentArgCount++];
arg.key = F("plain");
Expand Down
0