mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
Allow for double quotes in boundary (#3455)
as per https://tools.ietf.org/html/rfc2046#section-5.1.1
This commit is contained in:
parent
6ac48124bd
commit
1843030b8a
@ -166,6 +166,7 @@ bool ESP8266WebServer::_parseRequest(WiFiClient& client) {
|
|||||||
isEncoded = true;
|
isEncoded = true;
|
||||||
} else if (headerValue.startsWith("multipart/")){
|
} else if (headerValue.startsWith("multipart/")){
|
||||||
boundaryStr = headerValue.substring(headerValue.indexOf('=')+1);
|
boundaryStr = headerValue.substring(headerValue.indexOf('=')+1);
|
||||||
|
boundaryStr.replace("\"","");
|
||||||
isForm = true;
|
isForm = true;
|
||||||
}
|
}
|
||||||
} else if (headerName.equalsIgnoreCase("Content-Length")){
|
} else if (headerName.equalsIgnoreCase("Content-Length")){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user