mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 09:21:49 -05:00
POP: make sure the url is encoded correctly on delete
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@520 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
bdb41fbc11
commit
b0f1aa7fe7
@ -735,10 +735,10 @@ public class ExchangeSession {
|
||||
httpClient, URIUtil.encodePath(folderUrl), searchRequest);
|
||||
|
||||
for (MultiStatusResponse response : responses) {
|
||||
String messageUrl = response.getHref();
|
||||
String messageUrl = URIUtil.decode(response.getHref());
|
||||
|
||||
LOGGER.debug("Delete " + messageUrl);
|
||||
DavGatewayHttpClientFacade.executeDeleteMethod(httpClient, messageUrl);
|
||||
DavGatewayHttpClientFacade.executeDeleteMethod(httpClient, URIUtil.encodePath(messageUrl));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user