mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 19:22:22 -05:00
Caldav: fix bug 2902358, encode messageUrl in PropPatch with forceActiveSyncUpdate=true
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@859 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
98bd73aa16
commit
aae79508d9
@ -2538,7 +2538,7 @@ public class ExchangeSession {
|
||||
(Settings.getBooleanProperty("davmail.forceActiveSyncUpdate"))) {
|
||||
ArrayList<DavProperty> propertyList = new ArrayList<DavProperty>();
|
||||
propertyList.add(new DefaultDavProperty(DavPropertyName.create("contentclass", Namespace.getNamespace("DAV:")), contentClass));
|
||||
PropPatchMethod propPatchMethod = new PropPatchMethod(messageUrl, propertyList);
|
||||
PropPatchMethod propPatchMethod = new PropPatchMethod(URIUtil.encodePath(messageUrl), propertyList);
|
||||
int patchStatus = DavGatewayHttpClientFacade.executeHttpMethod(httpClient, propPatchMethod);
|
||||
if (patchStatus != HttpStatus.SC_MULTI_STATUS) {
|
||||
LOGGER.warn("Unable to patch event to trigger activeSync push");
|
||||
|
Loading…
Reference in New Issue
Block a user