aboutsummaryrefslogtreecommitdiffstats
path: root/tests/parser/bodyPartTest.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-05Skip delimiter lines that are not exactly equal to the boundaryJan Engelhardt1-0/+38
There is crap software out there that generates mails violating the prefix ban clause from RFC 2046 §5.1 ¶2. Switch vmime from a prefix match to an equality match, similar to what Alpine and Thunderbird do too.
2019-10-05Disregard whitespace between leading boundary hyphens and markerJan Engelhardt1-3/+3
The way I read the RFC is that whitespace is not allowed before the boundary marker, only afterwards, so the checks for leading WS are removed, and the missing check for trailing WS is added. See RFC 2046 §5.1.1: """The boundary delimiter line is then defined as a line consisting entirely of two hyphen characters ("-", decimal value 45) followed by the boundary parameter value from the Content-Type header field, optional linear whitespace, and a terminating CRLF."""
2018-09-05Code style and clarity.Vincent Richard1-37/+44
2018-08-18Avoid copy by passing shared_ptr<> with const reference.Vincent Richard1-1/+1
2016-03-13Issue #126: more warnings fixed.Vincent Richard1-1/+1
2013-11-21Boost/C++11 shared pointers.Vincent Richard1-21/+21
2013-06-13Added support for transport padding in boundary (issue #38).Vincent Richard1-0/+42
2013-03-08Refactored unit tests.Vincent Richard1-5/+1
2013-01-10Updated copyright year and maintainer email address.Vincent Richard1-1/+1
2012-04-16Added ability to parse directly from an input stream (eg. file). This allows ↵Vincent Richard1-0/+89
very big messages to be parsed without loading the whole message data into memory.
2012-04-05Fixed wrong encoding of line breaks in QP-encoded text (issue #7).Vincent Richard1-0/+24
2012-04-05Added test: Ensure '7bit' encoding is used when body is 7-bit only.Vincent Richard1-0/+14
2011-06-25Fixed parsing of empty body parts (thanks to John van der Kamp, from Zarafa).Vincent Richard1-0/+19
2011-03-09Fixed bug #3174903. Fixed word parsing when buffer does not end with NL. ↵Vincent Richard1-0/+76
Fixed 'no encoding' when forced.
2010-12-10Fixed boundary parsing (thanks to John van der Kamp, Zarafa).Vincent Richard1-1/+1
2009-09-06Relicensed VMime under the GNU GPL version 3. Changed copyright year to 2009.Vincent Richard1-2/+2
2008-07-11Recover from broken emails without a final boundary (Zarafa).Vincent Richard1-0/+28
2008-01-04Changed copyright year to 2008.Vincent Richard1-1/+1
2007-01-01Changed copyright year to 2007.Vincent Richard1-1/+1
2006-02-05Changed copyright year to 2006.Vincent Richard1-1/+1
2005-09-17Updated FSF address.Vincent Richard1-3/+7
2005-08-25Moved to CppUnit for unit tests framework.Vincent Richard1-56/+40
2005-07-12Reference counting and smart pointers.Vincent Richard1-1/+1
2005-03-18Updated VMime website URL.Vincent Richard1-1/+1
2005-01-28Splitted 'contentHandler' into three classes: 'emptyContentHandler', ↵Vincent Richard1-1/+1
'stringContentHandler' and 'streamContentHandler'.
2005-01-03Changed year to 2005 in copyright header.Vincent Richard1-1/+1
2005-01-02Added unit tests for 'bodyPart'.Vincent Richard1-0/+93