You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2021/06/01 07:02:37 UTC

[james-project] branch master updated: [DEPENDENCY] Upgrade to MIME4J latest 0.8.4 release (#459)

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git


The following commit(s) were added to refs/heads/master by this push:
     new 56201c8  [DEPENDENCY] Upgrade to MIME4J latest 0.8.4 release (#459)
56201c8 is described below

commit 56201c85ac836d706ba2d9d4492eb4b177bdde9e
Author: Tellier Benoit <bt...@linagora.com>
AuthorDate: Tue Jun 1 14:02:31 2021 +0700

    [DEPENDENCY] Upgrade to MIME4J latest 0.8.4 release (#459)
---
 pom.xml                                                      |  2 +-
 .../james/jmap/rfc8621/contract/EmailGetMethodContract.scala | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/pom.xml b/pom.xml
index c502be1..9291afc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -589,7 +589,7 @@
         <james.groupId>org.apache.james</james.groupId>
         <james.protocols.groupId>${james.groupId}.protocols</james.protocols.groupId>
         <activemq.version>5.16.1</activemq.version>
-        <apache-mime4j.version>0.8.3</apache-mime4j.version>
+        <apache-mime4j.version>0.8.4</apache-mime4j.version>
         <apache.openjpa.version>3.1.2</apache.openjpa.version>
         <camel.version>3.8.0</camel.version>
         <derby.version>10.14.2.0</derby.version>
diff --git a/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/EmailGetMethodContract.scala b/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/EmailGetMethodContract.scala
index 84aba41..bcfdf8e 100644
--- a/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/EmailGetMethodContract.scala
+++ b/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/EmailGetMethodContract.scala
@@ -5520,7 +5520,7 @@ trait EmailGetMethodContract {
          |                    "id": "${messageId.serialize}",
          |                    "headers": [
          |                      {"name":"MIME-Version","value":" 1.0"},
-         |                      {"name":"Subject","value":" =?US-ASCII?Q?World_domination_=0D=0A_and_thi?=\\r\\n =?US-ASCII?Q?s_is_also_part_of_the_header?="},
+         |                      {"name":"Subject","value":" =?US-ASCII?Q?World_domination_=0D=0A_and_th?=\\r\\n =?US-ASCII?Q?is_is_also_part_of_the_header?="},
          |                      {"name":"Sender","value":" andre@domain.tld"},
          |                      {"name":"From","value":" andre@domain.tld"},
          |                      {"name":"Content-Type","value":" text/plain; charset=UTF-8"}
@@ -5580,7 +5580,7 @@ trait EmailGetMethodContract {
       .isEqualTo(
         s"""{
            |    "id": "${messageId.serialize}",
-           |    "header:Subject":" =?US-ASCII?Q?World_domination_=0D=0A_and_thi?=\\r\\n =?US-ASCII?Q?s_is_also_part_of_the_header?=",
+           |    "header:Subject":" =?US-ASCII?Q?World_domination_=0D=0A_and_th?=\\r\\n =?US-ASCII?Q?is_is_also_part_of_the_header?=",
            |    "header:From":" andre@domain.tld",
            |    "header:Sender":" andre@domain.tld"
            |}""".stripMargin)
@@ -5633,7 +5633,7 @@ trait EmailGetMethodContract {
       .isEqualTo(
       s"""{
          |    "id": "${messageId.serialize}",
-         |    "header:subJeCt":" =?US-ASCII?Q?World_domination_=0D=0A_and_thi?=\\r\\n =?US-ASCII?Q?s_is_also_part_of_the_header?="
+         |    "header:subJeCt":" =?US-ASCII?Q?World_domination_=0D=0A_and_th?=\\r\\n =?US-ASCII?Q?is_is_also_part_of_the_header?="
          |}""".stripMargin)
   }
 
@@ -6066,7 +6066,7 @@ trait EmailGetMethodContract {
       .isEqualTo(
       s"""{
          |    "id": "${messageId.serialize}",
-         |    "header:Subject:asRaw": " =?US-ASCII?Q?World_domination_=0D=0A_and_thi?=\\r\\n =?US-ASCII?Q?s_is_also_part_of_the_header?="
+         |    "header:Subject:asRaw": " =?US-ASCII?Q?World_domination_=0D=0A_and_th?=\\r\\n =?US-ASCII?Q?is_is_also_part_of_the_header?="
          |}""".stripMargin)
   }
 
@@ -6132,7 +6132,7 @@ trait EmailGetMethodContract {
            |    "header:ReplyTo:asRaw": " \\"user1\\" user1@domain.tld",
            |    "header:From:asRaw": " andre@domain.tld",
            |    "header:Cc:asRaw": " \\"user2\\" user2@domain.tld",
-           |    "header:Subject:asRaw": " =?US-ASCII?Q?World_domination_=0D=0A_and_thi?=\\r\\n =?US-ASCII?Q?s_is_also_part_of_the_header?=",
+           |    "header:Subject:asRaw": " =?US-ASCII?Q?World_domination_=0D=0A_and_th?=\\r\\n =?US-ASCII?Q?is_is_also_part_of_the_header?=",
            |    "header:InReplyTo:asRaw": null,
            |    "header:sentAt:asRaw": null,
            |    "header:To:asRaw": " \\"user1\\" user1@domain.tld",
@@ -6241,7 +6241,7 @@ trait EmailGetMethodContract {
       .isEqualTo(
         s"""{
            |    "id": "${messageId.serialize}",
-           |    "header:Subject:asRaw": " =?US-ASCII?Q?___World_domination=0D=0A_and_thi?=\\r\\n =?US-ASCII?Q?s_is_also_part_of_the_header=0D=0A?=",
+           |    "header:Subject:asRaw": " =?US-ASCII?Q?___World_domination=0D=0A_and_th?=\\r\\n =?US-ASCII?Q?is_is_also_part_of_the_header=0D=0A?=",
            |    "header:Subject:asText": "World domination and this is also part of the header"
            |}""".stripMargin)
   }

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org