diff options
author | madmaxoft <github@xoft.cz> | 2013-10-04 13:02:56 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-04 13:10:30 +0200 |
commit | 9a33732f6afc31d3682d7c2a3259f4c1986beb26 (patch) | |
tree | d329955ce61ab62b361ee3deb70f365cfade68f9 /source/HTTPServer/MultipartParser.cpp | |
parent | Added cEnvelopeParser and cMultipartParser. (diff) | |
download | cuberite-9a33732f6afc31d3682d7c2a3259f4c1986beb26.tar cuberite-9a33732f6afc31d3682d7c2a3259f4c1986beb26.tar.gz cuberite-9a33732f6afc31d3682d7c2a3259f4c1986beb26.tar.bz2 cuberite-9a33732f6afc31d3682d7c2a3259f4c1986beb26.tar.lz cuberite-9a33732f6afc31d3682d7c2a3259f4c1986beb26.tar.xz cuberite-9a33732f6afc31d3682d7c2a3259f4c1986beb26.tar.zst cuberite-9a33732f6afc31d3682d7c2a3259f4c1986beb26.zip |
Diffstat (limited to 'source/HTTPServer/MultipartParser.cpp')
-rw-r--r-- | source/HTTPServer/MultipartParser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/HTTPServer/MultipartParser.cpp b/source/HTTPServer/MultipartParser.cpp index 7df151dc3..b49f6ec07 100644 --- a/source/HTTPServer/MultipartParser.cpp +++ b/source/HTTPServer/MultipartParser.cpp @@ -116,6 +116,7 @@ cMultipartParser::cMultipartParser(const AString & a_ContentType, cCallbacks & a // Find the multipart boundary: ContentType.erase(0, idxSC + 1); cNameValueParser CTParser(ContentType.c_str(), ContentType.size()); + CTParser.Finish(); if (!CTParser.IsValid()) { m_IsValid = false; |