You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ro...@apache.org on 2017/03/06 13:35:42 UTC
[1/2] james-project git commit: JAMES-1953 Show that using an UTF-7
encoded hierarchical seperator when creating a mailbox creates it as if the
separator was not encoded
Repository: james-project
Updated Branches:
refs/heads/master 6b1490481 -> 24480cd4d
JAMES-1953 Show that using an UTF-7 encoded hierarchical seperator when creating a mailbox creates it as if the separator was not encoded
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/eb8bb5a7
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/eb8bb5a7
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/eb8bb5a7
Branch: refs/heads/master
Commit: eb8bb5a71aa9bb356cc4dd69aea7a49c00ba094a
Parents: 290ada2
Author: Raphael Ouazana <ra...@linagora.com>
Authored: Fri Mar 3 17:28:13 2017 +0100
Committer: Raphael Ouazana <ra...@linagora.com>
Committed: Fri Mar 3 17:28:13 2017 +0100
----------------------------------------------------------------------
.../org/apache/james/imap/scripts/Create.test | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/james-project/blob/eb8bb5a7/mpt/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Create.test
----------------------------------------------------------------------
diff --git a/mpt/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Create.test b/mpt/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Create.test
index 97259ec..87a49d7 100644
--- a/mpt/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Create.test
+++ b/mpt/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Create.test
@@ -58,6 +58,17 @@ S: 18 OK LIST completed.
C: 19 CREATE alpha
S: 19 NO CREATE failed. Mailbox already exists.
+#
+# When creating a mailbox which name contains the hierarchical separator UTF-7 encoded
+# The creation should succeed as if trying to create a folder and its subfolder
+#
+C: 20 CREATE "one&AC4-two"
+S: 20 OK CREATE completed.
+C: 21 LIST "" one*
+S: \* LIST \(\\HasChildren\) "." "one"
+S: \* LIST \(\\HasNoChildren\) "." "one.two"
+S: 21 OK LIST completed.
+
# Cleanup
C: a1 DELETE test1.subfolder1
S: a1 OK DELETE completed.
@@ -78,4 +89,8 @@ S: a11 OK DELETE completed.
C: a11 DELETE another.test
S: a11 OK DELETE completed.
C: a11 DELETE another
-S: a11 OK DELETE completed.
\ No newline at end of file
+S: a11 OK DELETE completed.
+C: a12 DELETE one.two
+S: a12 OK DELETE completed.
+C: a12 DELETE one
+S: a12 OK DELETE completed.
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[2/2] james-project git commit: Merge remote-tracking branch
'mine/JAMES-1953'
Posted by ro...@apache.org.
Merge remote-tracking branch 'mine/JAMES-1953'
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/24480cd4
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/24480cd4
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/24480cd4
Branch: refs/heads/master
Commit: 24480cd4df20909772fe08990bb42aba933f8eff
Parents: 6b14904 eb8bb5a
Author: Raphael Ouazana <ra...@linagora.com>
Authored: Mon Mar 6 14:35:03 2017 +0100
Committer: Raphael Ouazana <ra...@linagora.com>
Committed: Mon Mar 6 14:35:03 2017 +0100
----------------------------------------------------------------------
.../org/apache/james/imap/scripts/Create.test | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org