1
0

Fixed MultiPartParser's boundary parsing.

This commit is contained in:
madmaxoft
2013-10-04 13:02:56 +02:00
parent d8229a5531
commit 9a33732f6a
2 changed files with 2 additions and 1 deletions

View File

@@ -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;