mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
Fix missing separator between get and post arguments (#2222)
* fix urlDecode points Fixes: https://github.com/esp8266/Arduino/issues/1989 https://github.com/esp8266/Arduino/issues/2198 * Add missing separator between get and plain post arguments
This commit is contained in:
@ -183,6 +183,7 @@ bool ESP8266WebServer::_parseRequest(WiFiClient& client) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (contentLength > 0) {
|
if (contentLength > 0) {
|
||||||
|
if (searchStr != "") searchStr += '&';
|
||||||
if(isEncoded){
|
if(isEncoded){
|
||||||
//url encoded form
|
//url encoded form
|
||||||
String decoded = urlDecode(plainBuf);
|
String decoded = urlDecode(plainBuf);
|
||||||
|
Reference in New Issue
Block a user