Message139982
| Author |
xavierd |
| Recipients |
r.david.murray, xavierd |
| Date |
2011年07月07日.16:37:21 |
| SpamBayes Score |
0.0023081137 |
| Marked as misclassified |
No |
| Message-id |
<1310056642.88.0.39667287194.issue12515@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
the function 'email.message_from_file' modifies the message structure when the parsed is invalid (for example, when a closed boudary is missing). The attribute defects is also empty
In the attachment (sample.tgz) you will find:
- orig.eml : an email with an invalid structure The boundary
"000101020201080900040301" isn't closed
- after_parsing.eml: same email after calling email.message_from_file()
The boundary is now closed. And the defects attribute is empty
- test.py: python script to reproduce. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年07月07日 16:37:22 | xavierd | set | recipients:
+ xavierd, r.david.murray |
| 2011年07月07日 16:37:22 | xavierd | set | messageid: <1310056642.88.0.39667287194.issue12515@psf.upfronthosting.co.za> |
| 2011年07月07日 16:37:22 | xavierd | link | issue12515 messages |
| 2011年07月07日 16:37:22 | xavierd | create |
|