mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
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:
commit
f8bf7d9599
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user