Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 3405f4f6 authored by Andy Scherzinger's avatar Andy Scherzinger Committed by GitHub
Browse files

Merge pull request #353 from nextcloud/trashbinDoubleSlash

prevent double slash, as remotePath always has a leading "/"
parents a70820c6 0b814959
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ public class ReadTrashbinFolderRemoteOperation extends RemoteOperation {
        PropFindMethod query = null;

        try {
            String baseUri = client.getNewWebdavUri() + "/trashbin/" + client.getUserId() + "/trash/";
            String baseUri = client.getNewWebdavUri() + "/trashbin/" + client.getUserId() + "/trash";
            DavPropertyNameSet propSet = WebdavUtils.getTrashbinPropSet();
                
            query = new PropFindMethod(baseUri + WebdavUtils.encodePath(remotePath), propSet, DavConstants.DEPTH_1);