summaryrefslogtreecommitdiffstats
path: root/test/fixtures
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-10-15 10:00:18 +0000
committerGo MAEDA <maeda@farend.jp>2018-10-15 10:00:18 +0000
commitfacb44cb03533aad57b3d982fab692f25c937e9a (patch)
tree17f2de1beaef0d48e2fdc653ae011d08430222c9 /test/fixtures
parent88a83228e1c731da8b4aa68d441669f5aec83214 (diff)
downloadredmine-facb44cb03533aad57b3d982fab692f25c937e9a.tar.gz
redmine-facb44cb03533aad57b3d982fab692f25c937e9a.zip
Ensure that vendor-defined characters in ISO-2022-JP email subject don't break issue's subject (#29442).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17596 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/mail_handler/subject_japanese_3.eml9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/fixtures/mail_handler/subject_japanese_3.eml b/test/fixtures/mail_handler/subject_japanese_3.eml
new file mode 100644
index 000000000..710da8776
--- /dev/null
+++ b/test/fixtures/mail_handler/subject_japanese_3.eml
@@ -0,0 +1,9 @@
+From: John Smith <JSmith@somenet.foo>
+To: "redmine@somenet.foo" <redmine@somenet.foo>
+Subject: =?iso-2022-jp?B?GyRCLSEbKEIgGyRCNF0/dDt6JUYlOSVIGyhC?=
+Date: Mon, 27 Aug 2018 09:30:00 +0900
+Message-ID: <87C31D42249DD0489D1A1444E3232DD7019D6183@foo.bar>
+
+The subject contains a "CIRCLED DIGIT ONE" character (U+2460).
+It is undefined in ISO-2022-JP but defined in some vendor-extended
+variants such as ISO-2022-JP-MS.