Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prevent accessing empty buffer | ibanic | 2021-05-15 | 1 | -0/+27 |
| | |||||
* | Avoid force-encoding display names that fit within qcontent | Jan Engelhardt | 2020-12-11 | 2 | -1/+14 |
| | | | | | | | | | When the display name contains an At sign, or anything of the sort, libvmime would forcibly encode this to =?...?=, even if the line is fine ASCII which only needs quoting. rspamd takes excessive quoting as a sign of spam and penalizes such mails by raising the score (rule/match: TO_EXCESS_QP et al.) | ||||
* | #238 Fixed whitespace between encoded words | vincent-richard | 2020-06-16 | 1 | -0/+85 |
| | |||||
* | Added test. | vincent-richard | 2020-06-02 | 1 | -0/+10 |
| | |||||
* | Skip delimiter lines that are not exactly equal to the boundary | Jan Engelhardt | 2019-10-05 | 1 | -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. | ||||
* | Disregard whitespace between leading boundary hyphens and marker | Jan Engelhardt | 2019-10-05 | 1 | -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.""" | ||||
* | Improve address parser for malformed mailbox specifications | Jan Engelhardt | 2019-01-25 | 1 | -6/+6 |
| | | | | | | | | | | | | Spammers use "Name <addr> <addr>" to trick some parsers. My expectations as to what the outcome should be is presented in the updated mailboxTest.cpp. The DFA in mailbox::parseImpl is hereby redone so as to pick the rightmost address-looking portion as the address, rather than something in between. While doing so, it will also no longer mangle the name part anymore (it does this by keeping a "as_if_name" variable around until the end). | ||||
* | tests: add more malformation tests to mailboxTest | Jan Engelhardt | 2019-01-24 | 1 | -4/+19 |
| | |||||
* | Removed 'stringProxy' since COW std::string is no longer valid in C++11. | Vincent Richard | 2018-09-15 | 1 | -31/+0 |
| | |||||
* | Code style and clarity. | Vincent Richard | 2018-09-05 | 27 | -800/+1132 |
| | |||||
* | Avoid copy by passing shared_ptr<> with const reference. | Vincent Richard | 2018-08-18 | 3 | -4/+4 |
| | |||||
* | Added unit test related to PR #192. | Vincent Richard | 2018-03-12 | 1 | -0/+10 |
| | |||||
* | Always ignore newlines between words. | Vincent Richard | 2017-01-02 | 1 | -0/+4 |
| | |||||
* | Fixed #149: don't loose charset when fixing invalid broken words. | Vincent Richard | 2016-11-05 | 1 | -13/+66 |
| | |||||
* | Issue #126: more warnings fixed. | Vincent Richard | 2016-03-13 | 1 | -1/+1 |
| | |||||
* | Estimate generated size of parameterized field. | Vincent Richard | 2015-06-07 | 1 | -0/+140 |
| | |||||
* | Fixed parsing of UTF8 email addresses (RFC-2047 local part + IDNA domain name). | Vincent Richard | 2015-05-03 | 1 | -0/+16 |
| | |||||
* | Fixed unit test so that is does not depend on the current locale charset. | Vincent Richard | 2015-02-19 | 1 | -1/+3 |
| | |||||
* | Issue #103: fix badly encoded words. | Vincent Richard | 2015-02-16 | 2 | -2/+149 |
| | |||||
* | Fixed issue #98: support for wrongly padded B64 words. | Vincent Richard | 2015-01-14 | 1 | -0/+22 |
| | |||||
* | Added support for language specification in RFC-2047 encoded words and ↵ | Vincent Richard | 2014-06-30 | 3 | -6/+53 |
| | | | | RFC-2231 parameter values. | ||||
* | Allow choosing between encoding modes for parameter values. | Vincent Richard | 2014-06-17 | 1 | -21/+87 |
| | |||||
* | Removed useless 'virtual' inheritance (fixed issue #84). | Vincent Richard | 2014-06-06 | 1 | -1/+1 |
| | |||||
* | Fixed parsing of empty lines in header field value. | Vincent Richard | 2014-06-01 | 1 | -0/+17 |
| | |||||
* | Do not make calls to setlocale() in a library. Use default user locale in ↵ | Vincent Richard | 2014-01-15 | 3 | -0/+72 |
| | | | | tests and examples. | ||||
* | Simplified types for better readability. Use appropriate types (size_t, ↵ | Vincent Richard | 2013-12-10 | 3 | -6/+6 |
| | | | | byte_t...). Minor warning fixes. | ||||
* | Boost/C++11 shared pointers. | Vincent Richard | 2013-11-21 | 15 | -174/+178 |
| | |||||
* | Fixed group parsing in mailboxList. | Vincent Richard | 2013-10-16 | 1 | -0/+48 |
| | |||||
* | Refactored the way embedded objects are referenced in MHTML. | Vincent Richard | 2013-07-11 | 1 | -0/+3 |
| | |||||
* | Do not QP-encode CRLFs when content type is text. | Vincent Richard | 2013-06-27 | 1 | -0/+66 |
| | |||||
* | Removed debug printf. | Vincent Richard | 2013-06-27 | 1 | -1/+0 |
| | |||||
* | Unit tests for content handlers. | Vincent Richard | 2013-06-26 | 4 | -0/+600 |
| | |||||
* | Added support for SIZE SMTP extension (RFC-1870). | Vincent Richard | 2013-06-24 | 1 | -0/+57 |
| | |||||
* | Added support for transport padding in boundary (issue #38). | Vincent Richard | 2013-06-13 | 1 | -0/+42 |
| | |||||
* | Fixed comment. | Vincent Richard | 2013-06-09 | 1 | -1/+1 |
| | |||||
* | Added support for charset conversion with ICU (thanks to Mehmet Bozkurt). | Vincent Richard | 2013-03-25 | 2 | -1/+12 |
| | |||||
* | Strip spaces at end of header lines (Zarafa). | Vincent Richard | 2013-03-24 | 1 | -0/+17 |
| | |||||
* | Fixed warnings and 64-bit issues. | Vincent Richard | 2013-03-24 | 2 | -10/+10 |
| | |||||
* | Let whitespace break the value of a parameterized header field, not just a ↵ | Vincent Richard | 2013-03-24 | 1 | -0/+12 |
| | | | | ';' (thanks to Zarafa). | ||||
* | Fixed parsing header field value on next line. | Vincent Richard | 2013-03-24 | 1 | -0/+17 |
| | |||||
* | Updated tests for charset conversion. | Vincent Richard | 2013-03-18 | 3 | -222/+348 |
| | | | | | | Added test for UTF-7 encoding availability. Added test for input buffer underflow in charsetFilteredOutputStream. Refactored charset conversion tests and removed useless tests. | ||||
* | Fixed mailbox and mailbox group parsing. Added unit tests. | Vincent Richard | 2013-03-11 | 2 | -0/+115 |
| | |||||
* | Refactored unit tests. | Vincent Richard | 2013-03-08 | 17 | -85/+17 |
| | |||||
* | Throw exception when an invalid value type is set in a header field. | Vincent Richard | 2013-02-27 | 1 | -0/+56 |
| | |||||
* | Fixed typo in function name. | Vincent Richard | 2013-02-25 | 1 | -3/+3 |
| | |||||
* | Unit tests for wordEncoder. | Vincent Richard | 2013-02-25 | 1 | -0/+126 |
| | |||||
* | Message generation/parsing context. Charset conversion options. Preliminary ↵ | Vincent Richard | 2013-02-24 | 4 | -21/+372 |
| | | | | implementation of RFC-6532. | ||||
* | Added helper function to replace header field. | Vincent Richard | 2013-02-17 | 1 | -0/+19 |
| | |||||
* | Updated copyright year and maintainer email address. | Vincent Richard | 2013-01-10 | 14 | -14/+14 |
| | |||||
* | Trivial 64-bit warning fixes. | Vincent Richard | 2012-12-12 | 1 | -1/+1 |
| |