mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 14:36:29 +03:00
add test for binary word-encoded filenames
This commit is contained in:
26
test-data/message/attach_filename_encoded_words_binary.eml
Normal file
26
test-data/message/attach_filename_encoded_words_binary.eml
Normal 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==--
|
||||
Reference in New Issue
Block a user