arduino-esp32/libraries/WebServer
nicolaser15 663effa00e
Update Parsing.cpp (#4217)
* Update Parsing.cpp

When uploading TLS cert files the end of file "-----END CERTIFICATE-----" (or any kind of file with the sequence "CRLF--") is taken as posible end boundary. Then it is compared to the start boundary string. As it is expected, comparison turns to be false, and the whole end boundary string is put to _currentUpload->buf through _uploadWriteByte(). Here you have the problem: if you read boundary.length() bytes from HTTP request and you have some of the actual end boundary bytes in it, when you put all those bytes into _currentUpload->buf you are making a mistake. You will miss the actual end boundary string because some of those bytes were put in _currentUpload->buf.

* Update Parsing.cpp
2020-10-01 14:37:59 +03:00
..
examples Minor change but could confuse some (#4084) 2020-09-30 15:26:38 +03:00
src Update Parsing.cpp (#4217) 2020-10-01 14:37:59 +03:00
keywords.txt Update IDF to aaf1239 (#1539) 2018-06-27 09:01:06 +02:00
library.properties Update IDF to aaf1239 (#1539) 2018-06-27 09:01:06 +02:00