add test for binary word-encoded filenames

This commit is contained in:
B. Petersen
2020-12-02 14:42:59 +01:00
parent 7c9624e822
commit 412645e1ce
2 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
Subject: Test binary-encoded-words filenames
Message-ID: 123456@testrun.org
Date: Sat, 07 Dec 2019 19:00:27 +0000
Chat-Version: 1.0
To: recp@testrun.org
From: sender@testrun.org
Content-Type: multipart/mixed; boundary="==BREAK=="
--==BREAK==
Content-Type: text/plain; charset=utf-8
test binary word-encoded filename,
filename is " § 165 Abs" - note the leading space.
as a side-effect, this also tests that the encoding-name
also works in UPPERCASE.
--==BREAK==
Content-Type: text/html
Content-Disposition: attachment; filename="=?UTF-8?B?IMKnIDE2NSBBYnM=?=";
Content-Transfer-Encoding: base64
PGh0bWw+PGJvZHk+dGV4dDwvYm9keT5kYXRh
--==BREAK==--