1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 19:22:22 -05:00

IMAP: case insensitive search operators

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@667 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-08-12 16:31:31 +00:00
parent 2b65587c07
commit 006d69de51

View File

@ -242,7 +242,7 @@ public class ImapConnection extends AbstractConnection {
boolean or = false; boolean or = false;
while (tokens.hasMoreTokens()) { while (tokens.hasMoreTokens()) {
String token = tokens.nextToken(); String token = tokens.nextToken().toUpperCase();
if ("OR".equals(token)) { if ("OR".equals(token)) {
or = true; or = true;
} else if (token.startsWith("OR ")) { } else if (token.startsWith("OR ")) {