Commit 69fc89d2 authored by jan.koester's avatar jan.koester
Browse files

fxied

parent 16b14032
Loading
Loading
Loading
Loading
+0 −5
Changes for src/http.cpp: 0 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -1796,11 +1796,6 @@ void libhttppp::HttpForm::_parseMulitpart(const netplus::condata<char> &data) {

    size_t partEnd = (closePos != std::string::npos) ? closePos : delimPos; // points to CR of the CRLF before boundary

    // Trim trailing CRLF from part body if present
    if (partEnd >= 2 && req[partEnd - 2] == '\r' && req[partEnd - 1] == '\n') {
      partEnd -= 2;
    }

    if (partStart != std::string::npos && partEnd >= partStart) {
      _parseMultiSection(req, partStart, partEnd);
    }