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:
parent
f45e330d37
commit
a39f9512ef
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user