CalDav: Fix 3512857, avoid double path encoding in DavExchangeSession.loadVtimezone()

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1939 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2012-04-02 21:16:32 +00:00
parent c28c021c09
commit e5c430e4cd
1 changed files with 1 additions and 1 deletions

View File

@ -2362,7 +2362,7 @@ public class DavExchangeSession extends ExchangeSession {
if (timezoneId != null) {
propertyList.add(Field.createDavProperty("timezoneid", timezoneId));
}
String patchMethodUrl = URIUtil.encodePath(folderPath) + '/' + UUID.randomUUID().toString() + ".EML";
String patchMethodUrl = folderPath + '/' + UUID.randomUUID().toString() + ".EML";
PropPatchMethod patchMethod = new PropPatchMethod(URIUtil.encodePath(patchMethodUrl), propertyList);
try {
int statusCode = httpClient.executeMethod(patchMethod);