Maurus Decimus
1d449bb5ef
html_to_text: keep the space after a leading element, skip quoted attribute values ( fixes #168 , fixes #169 )
2026-11-19 11:18:47 +01:00
Luca Cappelletti
8e149db324
Keep quoted-pairs in a quoted local part inside angle brackets ( #167 )
2026-11-15 15:53:49 +01:00
Luca Cappelletti
70bba6b551
Keep a quoted local part in an address without angle brackets ( #166 )
2026-11-15 15:52:32 +01:00
Maurus Decimus
82a87a063d
Keep parameter values after a fold following = ( fixes #165 )
2026-10-29 12:05:17 +01:00
Maurus Decimus
f39064dc3c
Fix HTML text parsing issues
2026-10-06 15:45:20 +02:00
Maurus Decimus
79b2f3fd5e
Non-conforming RFC5322 address oddly mangled ( fixes #162 )
2026-10-06 15:32:24 +02:00
Maurus Decimus
096b8b01e2
Updated benchmarks
2026-09-28 19:26:54 +02:00
Maurus Decimus
a5a5d74ba0
Merge v1.0.0 branch into main ( fixes #156 closes #127 fixes #109 closes #107 closes #98 closes #82 closes #73 fixes #119 fixes #70 fixes #67 )
2026-09-28 14:00:35 +02:00
Maurus Decimus
1883c39102
v0.11.7
2026-08-20 16:14:00 +02:00
Maurus Decimus
3574f17a22
Fix: Multi-word display names followed by a comment no longer produce a fabricated address ( closes #153 )
2026-08-10 19:28:16 +02:00
Maurus Decimus
f9a580c551
Fix: panic when a Received header ends with a folded line ( closes #155 )
2026-08-10 19:22:45 +02:00
Maurus Decimus
e2bcdf1e03
Fix: Missing whitespace between a quoted name and a following encoded word ( closes #150 )
2026-07-20 11:42:07 +02:00
Maurus Decimus
67a53e3ded
Fix: panic with messages containing corrupted eml attachments ( closes #120 ).
2026-07-08 17:59:12 +02:00
Maurus Decimus
b47ebe0d8f
Recognize additional charset labels supported by encoding_rs ( closes #123 )
2026-07-08 17:07:13 +02:00
Maurus Decimus
a6d6e10a82
Fix: Address names containing LF are not parsed correctly ( closes #149 )
2026-07-08 16:17:52 +02:00
Maurus Decimus
6da7920ab6
Leniently decode quoted-printable bodies with invalid = escapes ( closes #144 )
2026-06-21 09:07:56 +02:00
Maurus Decimus
8d571e4c7e
Fix: parse_date() does not handle UTC+12 and greater ( fixes #148 )
2026-06-21 08:02:57 +02:00
Maurus Decimus
b905fda07d
Reject dates with invalid month names
2026-05-10 11:15:48 +02:00
Maurus Decimus
2bff6e8d9d
Fix panic with messages containing corrupted attachments ( closes #145 )
2026-05-02 09:15:12 +02:00
mdecimus
af44d480ad
v0.11.2
2026-02-14 18:43:43 +00:00
mdecimus
9122a32e08
Fix CRLF tests ( closes #132 )
2026-02-04 20:48:44 +01:00
Cameron Little
df057edf09
Fix broken receive header date parsing when tab is used in long header syntax ( #130 )
...
* Add example tests for broken received parsing in shapelib email
This comes from http://lists.maptools.org/pipermail/shapelib.mbox/shapelib.mbox , where several of the emails received headers are incorrectly parsed.
The bad parsing looks like this:
Original header value:
```
from [217.146.183.184] by nm2.bullet.mail.ukl.yahoo.com with NNFMP; 09 Mar 2011 11:19:46 -0000
```
```json
"date": {
"year": 1911,
"month": 219,
"day": 3,
"hour": 19,
"minute": 46,
"second": 0,
"tz_before_gmt": true,
"tz_hour": 0,
"tz_minute": 0
}
```
Where the year should be 2011 and the month 3.
Weirdly, this reproduces in full message parsing, but not in the individual `received.json` tests.
This looks like it's similar to https://learn.microsoft.com/en-us/answers/questions/2737324/windows-live-mail-has-received-date-set-well-into
* Fix
* Add test case from https://github.com/stalwartlabs/mail-parser/issues/81
2026-01-15 00:18:34 +01:00
mdecimus
c5d47b5b8e
v0.11.0
2025-05-11 16:29:41 +02:00
sftse
e97d14ad89
Add .eml example with odd behavior ( #88 )
...
* Add .eml example with odd behavior
* Parse malformed, non-multipart, single text/plain messages best-effort as if text is not malformed
2025-01-25 15:14:19 +01:00
sftse
c733600b75
Obsolete timezones ( #95 )
...
* Expand date time tests by section 4.3 Obsolete Date and Time from RFC5322
* Needless branching
* fmt
* Implement obsolete time zones RFC5322 section 4.3
* Sanity check: constrain hours below 12 and minutes below 60
2025-01-25 15:11:41 +01:00
sftse
76669a32c6
Folding ws between "Content-Type:" and "plain/text" leads to empty header ( #96 )
...
* Add testcase with folding whitespace between "Content-Type:" and "text/plain"
* Fix handling of newlines between Content-Type and the type itself
2025-01-25 15:10:27 +01:00
mdecimus
c8bf355494
Multiline quoted continuations ( closes #92 )
2024-12-01 20:54:09 +13:00
Clément DOUIN
ad4dff69c3
fix address name containing @ ( #80 )
2024-03-14 13:29:37 +01:00
Mauro D
4ff4c57e2c
Clippy fixes
2024-01-08 19:31:34 +01:00
mdecimus
65533d3faf
v0.9.2
2023-11-27 09:34:59 +01:00
mdecimus
56d2c3b8b0
v0.9.1
2023-09-22 13:38:55 +02:00
mdecimus
ec04c1412d
Merged RfcHeader into HeaderName
2023-09-04 19:48:47 +02:00
mdecimus
e230000856
Moved address related object to Address enum
2023-09-04 18:27:15 +02:00
mdecimus
8e5381f60b
Project reorganization
2023-09-04 15:23:45 +02:00