summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLucas Hoffmann <lucc@posteo.de>2018-10-11 00:44:46 +0200
committerPatrick Totzke <patricktotzke@gmail.com>2018-12-03 08:28:32 +0000
commitd120120d575a9d738182c1b6d788e0c92d2f3ac1 (patch)
treeb93a3777ddb99162f6a49a520ebe2ade81fe3a6e /tests
parente892c5c8e90ba4fa832b32076b338b98d842dacf (diff)
Add two messages to the test mail corpus
The test corpus holds mails that are used to test different problems with parsing or displaying mail.
Diffstat (limited to 'tests')
-rw-r--r--tests/static/mail/broken-utf8.eml9
-rw-r--r--tests/static/mail/sender-with-wide-chars.eml5
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/static/mail/broken-utf8.eml b/tests/static/mail/broken-utf8.eml
new file mode 100644
index 00000000..583d994c
--- /dev/null
+++ b/tests/static/mail/broken-utf8.eml
@@ -0,0 +1,9 @@
+Subject: Broken UTF8 byte in quoted printable
+From: josh@github
+To: test@alot
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: quoted-printable
+
+=C2=A1This works!
+=A1This doesn't!
diff --git a/tests/static/mail/sender-with-wide-chars.eml b/tests/static/mail/sender-with-wide-chars.eml
new file mode 100644
index 00000000..4058d82b
--- /dev/null
+++ b/tests/static/mail/sender-with-wide-chars.eml
@@ -0,0 +1,5 @@
+Subject: wide chars in From: header
+From: =?utf-8?b?5ZC06bmP?= <pazz@github>
+To: test@alot
+
+testing issue #1262.