mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 09:21:49 -05:00
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:
parent
074f302d1b
commit
75cec9987b
@ -2340,6 +2340,9 @@ public class DavExchangeSession extends ExchangeSession {
|
|||||||
int statusCode = httpClient.executeMethod(postMethod);
|
int statusCode = httpClient.executeMethod(postMethod);
|
||||||
if (statusCode == HttpStatus.SC_OK) {
|
if (statusCode == HttpStatus.SC_OK) {
|
||||||
fakeEventUrl = StringUtil.getToken(postMethod.getResponseBodyAsString(), "<span id=\"itemHREF\">", "</span>");
|
fakeEventUrl = StringUtil.getToken(postMethod.getResponseBodyAsString(), "<span id=\"itemHREF\">", "</span>");
|
||||||
|
if (fakeEventUrl != null) {
|
||||||
|
fakeEventUrl = URIUtil.decode(fakeEventUrl);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
postMethod.releaseConnection();
|
postMethod.releaseConnection();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user