1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-08-13 16:53:51 -04:00

Fix regression in moveToTrash

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@442 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-03-13 21:46:25 +00:00
parent 60714ef44d
commit 45bd777b84

View File

@ -921,7 +921,7 @@ public class ExchangeSession {
public void moveToTrash(String encodedPath, String encodedMessageName) throws IOException {
String source = encodedPath+"/"+encodedMessageName;
String destination = URIUtil.encodePath(deleteditemsUrl) + encodedMessageName;
String destination = URIUtil.encodePath(deleteditemsUrl) + "/"+encodedMessageName;
LOGGER.debug("Deleting : " + source + " to " + destination);
MoveMethod method = new MoveMethod(source, destination);
method.addRequestHeader("Overwrite", "f");