diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-03-05 08:41:20 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-03-05 08:41:20 +0000 |
commit | a9a1f6205aca80c57c4be9b99dbf67aed733133c (patch) | |
tree | c5357ec8cdc3ba861e0149233aa72f73d430f28b /test/fixtures | |
parent | 7a60e44d43e412fc06b0039307051ffd33380e6c (diff) | |
download | redmine-a9a1f6205aca80c57c4be9b99dbf67aed733133c.tar.gz redmine-a9a1f6205aca80c57c4be9b99dbf67aed733133c.zip |
Mail parts with empty content should be ignored (#25256).
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@16371 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/fixtures')
-rw-r--r-- | test/fixtures/mail_handler/empty_text_part.eml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/test/fixtures/mail_handler/empty_text_part.eml b/test/fixtures/mail_handler/empty_text_part.eml new file mode 100644 index 000000000..7e770249f --- /dev/null +++ b/test/fixtures/mail_handler/empty_text_part.eml @@ -0,0 +1,36 @@ +From JSmith@somenet.foo Fri Mar 22 08:30:28 2013 +From: John Smith <JSmith@somenet.foo> +Content-Type: multipart/mixed; boundary="Apple-Mail=_33C8180A-B097-4B87-A925-441300BDB9C9" +Message-Id: <BB533668-3CC8-41CA-A951-0A5D8EA37FB0@somenet.foo> +Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) +Subject: Test with an empty text part +Date: Fri, 22 Mar 2013 17:30:20 +0200 +To: redmine@somenet.foo +X-Mailer: Apple Mail (2.1503) + + + +--Apple-Mail=_33C8180A-B097-4B87-A925-441300BDB9C9 +Content-Transfer-Encoding: quoted-printable +Content-Type: text/plain; + charset=us-ascii + + +--Apple-Mail=_33C8180A-B097-4B87-A925-441300BDB9C9 +Content-Transfer-Encoding: quoted-printable +Content-Type: text/html; + charset=us-ascii + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://ww= +w.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns=3D"http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8" /> +</head> +<body> +<p>The html part.</p> +</body> +</html> + + +--Apple-Mail=_33C8180A-B097-4B87-A925-441300BDB9C9-- |