james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1197678 - /james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/AbstractMailboxProcessor.java
Date Fri, 04 Nov 2011 17:26:42 GMT
Author: norman
Date: Fri Nov  4 17:26:42 2011
New Revision: 1197678

URL: http://svn.apache.org/viewvc?rev=1197678&view=rev
Log:
Make sure inbox is converted to INBOX. See IMAP-349

Modified:
    james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/AbstractMailboxProcessor.java

Modified: james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/AbstractMailboxProcessor.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/AbstractMailboxProcessor.java?rev=1197678&r1=1197677&r2=1197678&view=diff
==============================================================================
--- james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/AbstractMailboxProcessor.java
(original)
+++ james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/AbstractMailboxProcessor.java
Fri Nov  4 17:26:42 2011
@@ -381,6 +381,13 @@ abstract public class AbstractMailboxPro
         if (namespace.equals(MailboxConstants.USER_NAMESPACE)) {
             user = ImapSessionUtils.getUserName(session);
         }
+        
+        // use uppercase for INBOX
+        //
+        // See IMAP-349
+        if (name.equalsIgnoreCase(MailboxConstants.INBOX)) {
+            name = MailboxConstants.INBOX;
+        }
 
         return new MailboxPath(namespace, user, name);
     }



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


Mime
View raw message