Dav: decode url returned on saveappt cmd in DavExchangeSession.loadVtimezone()

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1941 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2012-04-04 10:02:19 +00:00
parent 074f302d1b
commit 75cec9987b
1 changed files with 3 additions and 0 deletions

View File

@ -2340,6 +2340,9 @@ public class DavExchangeSession extends ExchangeSession {
int statusCode = httpClient.executeMethod(postMethod);
if (statusCode == HttpStatus.SC_OK) {
fakeEventUrl = StringUtil.getToken(postMethod.getResponseBodyAsString(), "<span id=\"itemHREF\">", "</span>");
if (fakeEventUrl != null) {
fakeEventUrl = URIUtil.decode(fakeEventUrl);
}
}
} finally {
postMethod.releaseConnection();