diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-08-23 12:34:53 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-08-23 12:44:57 +0200 |
commit | 9e1c4456dee1a1799d54d43b6c09c55d8ddb7cb8 (patch) | |
tree | 2f1be0d70e77fd78cbe2e4fae1cd4b4534467b0e /tests/test_helper.py | |
parent | 7515515cb889c6bb8435c7eae923891d6b28dd8e (diff) |
It currently assumes that the string to be parsed contains LF-separated
lines. This assumption is in general wrong, because the string may be
written by the user's text editor and is thus outside of our control and
may contain anything.
In addition, since emails should use CRLF line endings, it is arguably
more correct for text editors to write CRLF to .eml files. E.g. recent
versions of vim do exactly that by default.
Change the parsing code to accept any of CR/LF/CRLF line endings.
Diffstat (limited to 'tests/test_helper.py')
0 files changed, 0 insertions, 0 deletions