1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-11-15 13:55:09 -05:00

Merge patch 34: Fix false positive when searching for user alias and email

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2296 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2014-06-23 21:59:20 +00:00
parent f45e330d37
commit a39f9512ef

View File

@ -3311,8 +3311,8 @@ public abstract class ExchangeSession {
while ((line = optionsPageReader.readLine()) != null
&& (line.indexOf('[') == -1
|| line.indexOf('@') == -1
|| line.indexOf(']') == -1)
&& !line.toLowerCase().contains(MAILBOX_BASE)) {
|| line.indexOf(']') == -1
|| !line.toLowerCase().contains(MAILBOX_BASE))) {
}
if (line != null) {
int start = line.toLowerCase().lastIndexOf(MAILBOX_BASE) + MAILBOX_BASE.length();