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

Fix mailPath with Exchange 2007 : should end with a /

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@243 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2008-12-23 14:16:29 +00:00
parent a05593b50e
commit 30a81908bb

View File

@ -317,7 +317,7 @@ public class ExchangeSession {
if (line != null) { if (line != null) {
int start = line.toLowerCase().indexOf(MAILBOX_BASE) + MAILBOX_BASE.length(); int start = line.toLowerCase().indexOf(MAILBOX_BASE) + MAILBOX_BASE.length();
int end = line.indexOf("<", start); int end = line.indexOf("<", start);
result = "/exchange/"+line.substring(start, end); result = "/exchange/"+line.substring(start, end)+"/";
} }
} catch (IOException e) { } catch (IOException e) {
LOGGER.error("Error parsing options page at " + optionsMethod.getPath()); LOGGER.error("Error parsing options page at " + optionsMethod.getPath());