Skip to content

Commit

Permalink
Merge pull request #4474 from aduffeck/fix-shares-dav-meta
Browse files Browse the repository at this point in the history
Fix /dav/meta inconsistency
  • Loading branch information
aduffeck committed Jan 24, 2024
2 parents 6d841aa + e23bffa commit 6eec406
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog/unreleased/fix-dav-meta.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Make /dav/meta consistent

We now also return absolute paths for shares in the share jail in the /dav/meta endpoint.

https://github.com/cs3org/reva/pull/4474
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ func (s *service) GetPath(ctx context.Context, req *provider.GetPathRequest) (*p

return &provider.GetPathResponse{
Status: status.NewOK(ctx),
Path: receivedShare.MountPoint.Path,
Path: filepath.Clean("/" + receivedShare.MountPoint.Path),
}, nil

}
Expand Down

0 comments on commit 6eec406

Please sign in to comment.