From e6c37313a6e19434ec303b20c50afff0312026da Mon Sep 17 00:00:00 2001 From: probonopd Date: Mon, 24 Jul 2017 07:24:14 +0200 Subject: [PATCH] Allow for double quotes in boundary as per https://tools.ietf.org/html/rfc2046#section-5.1.1 --- libraries/ESP8266WebServer/src/Parsing.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/ESP8266WebServer/src/Parsing.cpp b/libraries/ESP8266WebServer/src/Parsing.cpp index b013b8a0be..d75970575e 100644 --- a/libraries/ESP8266WebServer/src/Parsing.cpp +++ b/libraries/ESP8266WebServer/src/Parsing.cpp @@ -166,6 +166,7 @@ bool ESP8266WebServer::_parseRequest(WiFiClient& client) { isEncoded = true; } else if (headerValue.startsWith("multipart/")){ boundaryStr = headerValue.substring(headerValue.indexOf('=')+1); + boundaryStr.replace("\"",""); isForm = true; } } else if (headerName.equalsIgnoreCase("Content-Length")){