Commit 0ba15ec9 authored by Mickaël Guessant's avatar Mickaël Guessant

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

git-svn-id: https://svn.code.sf.net/p/davmail/code/trunk@2296 3d1905a2-6b24-0410-a738-b14d5a86fcbd
parent 229b10cf
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment