Merge pull request #1497 from software-security-systems/st-poco-1.7.7-fixed-add-content-to-message-in-parts-handler

* Net: fixed adding content part to mail message with empty content-d…
This commit is contained in:
Günter Obiltschnig 2016-11-22 13:52:56 +01:00 committed by GitHub
commit f8bf7d9599

View File

@ -119,6 +119,13 @@ namespace
pPS->headers().set(it->first, it->second);
}
if (contentDisp.empty())
{
_pMsg->addContent(pPS, cte);
added = true;
}
if (!added) delete pPS;
}
}