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

Fix 3153691: Username with apostrophe

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1704 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2011-06-16 12:14:24 +00:00
parent bccd9bf06b
commit 0f8153d8a5

View File

@ -478,7 +478,7 @@ public class DavExchangeSession extends ExchangeSession {
int end = line.indexOf('\"', start); int end = line.indexOf('\"', start);
String mailBoxBaseHref = line.substring(start, end); String mailBoxBaseHref = line.substring(start, end);
URL baseURL = new URL(mailBoxBaseHref); URL baseURL = new URL(mailBoxBaseHref);
welcomePageMailPath = baseURL.getPath(); welcomePageMailPath = URIUtil.decode(baseURL.getPath());
LOGGER.debug("Base href found in body, mailPath is " + welcomePageMailPath); LOGGER.debug("Base href found in body, mailPath is " + welcomePageMailPath);
} }
} catch (IOException e) { } catch (IOException e) {