diff --git a/internal/http/services/owncloud/ocdav/trashbin.go b/internal/http/services/owncloud/ocdav/trashbin.go index d1594a1c0ef..26bd45f8911 100644 --- a/internal/http/services/owncloud/ocdav/trashbin.go +++ b/internal/http/services/owncloud/ocdav/trashbin.go @@ -607,7 +607,7 @@ func (h *TrashbinHandler) delete(w http.ResponseWriter, r *http.Request, s *svc, Ref: &provider.Reference{ Path: basePath, }, - Key: path.Join(key, utils.MakeRelativePath(itemPath)), + Key: path.Join(key, itemPath), } res, err := client.PurgeRecycle(ctx, req)