summaryrefslogtreecommitdiffstats
path: root/source/HTTPServer/MultipartParser.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-04 13:02:56 +0200
committermadmaxoft <github@xoft.cz>2013-10-04 13:10:30 +0200
commit9a33732f6afc31d3682d7c2a3259f4c1986beb26 (patch)
treed329955ce61ab62b361ee3deb70f365cfade68f9 /source/HTTPServer/MultipartParser.cpp
parentAdded cEnvelopeParser and cMultipartParser. (diff)
downloadcuberite-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 '')
-rw-r--r--source/HTTPServer/MultipartParser.cpp1
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;