From 006d69de5110306531f6adf00e68e25ac4d51f1d Mon Sep 17 00:00:00 2001 From: mguessan Date: Wed, 12 Aug 2009 16:31:31 +0000 Subject: [PATCH] IMAP: case insensitive search operators git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@667 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/imap/ImapConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/davmail/imap/ImapConnection.java b/src/java/davmail/imap/ImapConnection.java index d1241600..49a9ff4d 100644 --- a/src/java/davmail/imap/ImapConnection.java +++ b/src/java/davmail/imap/ImapConnection.java @@ -242,7 +242,7 @@ public class ImapConnection extends AbstractConnection { boolean or = false; while (tokens.hasMoreTokens()) { - String token = tokens.nextToken(); + String token = tokens.nextToken().toUpperCase(); if ("OR".equals(token)) { or = true; } else if (token.startsWith("OR ")) {