Skip to content

Commit e0e3a77

Browse files
probonopdd-a-v
authored andcommitted
Allow for double quotes in boundary (esp8266#3455)
as per https://tools.ietf.org/html/rfc2046#section-5.1.1
1 parent 6e883e2 commit e0e3a77

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/ESP8266WebServer/src/Parsing.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ bool ESP8266WebServer::_parseRequest(WiFiClient& client) {
166166
isEncoded = true;
167167
} else if (headerValue.startsWith("multipart/")){
168168
boundaryStr = headerValue.substring(headerValue.indexOf('=')+1);
169+
boundaryStr.replace("\"","");
169170
isForm = true;
170171
}
171172
} else if (headerName.equalsIgnoreCase("Content-Length")){

0 commit comments

Comments
 (0)