diff options
author | Michael J Gruber <github@grubix.eu> | 2019-06-04 16:30:32 +0200 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2019-08-10 17:33:17 +0100 |
commit | 1bed75d814509f7816c92de665cf6966766c0883 (patch) | |
tree | ccaae259e4d0edad2704751a49acd695fc31d874 /tests/db/test_message.py | |
parent | a935ab494aba253501758bc59a1f586ad39ed303 (diff) |
ContactsCompletion: use db.utils.formataddr
email.utils.formataddr does more encoding than we need at this point -
headers will be encoded when they get inserted anyway.
Use db.utils.formataddr instead. Fixes #1378
Note that some tests need to be (and are) changed: The expectation of
the old tests was to get a completely escaped result.
Also, add an umlaut test.
Diffstat (limited to 'tests/db/test_message.py')
0 files changed, 0 insertions, 0 deletions