~qwertyface/localmail/localmail

Viewing all changes in revision 55.

  • Committer: Peter Russell
  • Date: 2018-05-01 09:12:00 UTC
  • Revision ID: qwertyface@gmail.com-20180501091200-utnoodzknfk32zfn
Fix a few errors relating to non-ascii mails

* Correctly convert message payloads to bytes in inbox.py
* Correctly decode message headers in inbox.py
* Convert a few strings including '\' characts to raw strings
* Add tests which round-trip non-ascii mail with differing encodings
  (these could probably do with a refactor)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: