-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ParseMediaType tolerates unencoded 8bit characters (#201)
* ParseMediaType tolerates unencoded 8bit characters * Added ReadEnvelope test with unencoded 8bit attachment filename Co-authored-by: Pavel Bazika <pavel.bazika@icewarp.com>
- Loading branch information
1 parent
6817b15
commit 0c598a7
Showing
4 changed files
with
145 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Date: Wed, 22 Feb 2021 13:29:24 +0800 | ||
From: "Pavel Bazika" <pavel.bazika@some.domain> | ||
To: <test@dome.domain>, | ||
Subject: Malformed test | ||
Mime-Version: 1.0 | ||
Content-Type: multipart/mixed; | ||
boundary="=====003_Dragon323481247347_=====" | ||
|
||
This is a multi-part message in MIME format. | ||
|
||
--=====003_Dragon323481247347_===== | ||
Content-Type: text/plain; | ||
charset=us-ascii | ||
|
||
Text part | ||
|
||
--=====003_Dragon323481247347_===== | ||
Content-Type: application/msword; | ||
name=管理.doc | ||
Content-Transfer-Encoding: base64 | ||
Content-Disposition: attachment; | ||
filename=管理.doc | ||
|
||
PGh0bWw+Cg== | ||
|
||
--=====003_Dragon323481247347_=====-- |