View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000287 | file | General | public | 2021-09-09 17:23 | 2021-09-11 19:20 |
Reporter | alealbonico | Assigned To | christos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 5.40 | ||||
Fixed in Version | 5.41 | ||||
Summary | 0000287: MIME of message/rfc822 detected as text/plain | ||||
Description | Email files with MIME message/rfc822 are being detected as text/plain because said file's header starts with "Date:" instead of "From:" or "Received:". I checked the documentation for the standard way to write a rfc822 message and it looks like date is actually allowed to be on the first line, too. Thanks in advance. | ||||
Steps To Reproduce | Get a rfc822 file and place the header date as the first line in it. Example of file: ------- Date: Fri, 07 Aug 2020 02:09:32 +0100 From: "xxxx" <xxxx@gmail.com> To: "yyyy" <yyyy@gmail.com> Subject: zzzzzzzz MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="--464994466596adLKMdfn3566452152" X-Rejection-Reason: zzzzzz ----464994466596adLKMdfn3566452152 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable [redacted] ----464994466596adLKMdfn3566452152 Content-Type: application/msword; name="xxxx" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="xxxx" xyz ----464994466596adLKMdfn3566452152-- ------- Try to get the MIME type. Output: text/plain Notice that removing date and leaving "from" on top instead will return the correct output. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2021-09-09 17:23 | alealbonico | New Issue | |
2021-09-11 19:20 | christos | Assigned To | => christos |
2021-09-11 19:20 | christos | Status | new => assigned |
2021-09-11 19:20 | christos | Status | assigned => resolved |
2021-09-11 19:20 | christos | Resolution | open => fixed |
2021-09-11 19:20 | christos | Fixed in Version | => 5.41 |
2021-09-11 19:20 | christos | Note Added: 0003642 |