mirror of
https://github.com/moparisthebest/davmail
synced 2024-11-12 04:15:08 -05: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:
parent
60714ef44d
commit
45bd777b84
@ -921,7 +921,7 @@ public class ExchangeSession {
|
|||||||
|
|
||||||
public void moveToTrash(String encodedPath, String encodedMessageName) throws IOException {
|
public void moveToTrash(String encodedPath, String encodedMessageName) throws IOException {
|
||||||
String source = encodedPath+"/"+encodedMessageName;
|
String source = encodedPath+"/"+encodedMessageName;
|
||||||
String destination = URIUtil.encodePath(deleteditemsUrl) + encodedMessageName;
|
String destination = URIUtil.encodePath(deleteditemsUrl) + "/"+encodedMessageName;
|
||||||
LOGGER.debug("Deleting : " + source + " to " + destination);
|
LOGGER.debug("Deleting : " + source + " to " + destination);
|
||||||
MoveMethod method = new MoveMethod(source, destination);
|
MoveMethod method = new MoveMethod(source, destination);
|
||||||
method.addRequestHeader("Overwrite", "f");
|
method.addRequestHeader("Overwrite", "f");
|
||||||
|
Loading…
Reference in New Issue
Block a user