-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix nested resource check for publicly shared space root
The 'Path' returned as part of the ResourceInfo from a Stat call might be relative. So we need to Use 'GetPath()' to lookup the full path of the parent. Otherwise the simple 'HasPrefix' check for whether a file a ancestor might fail. Co-Authored-By: Christian Richter <[email protected]>
- Loading branch information
1 parent
ea8ee61
commit 919e946
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Bugfix: Fix access to files withing a public link targetting a space root | ||
|
||
We fixed an issue that prevented users from opening documents within a public share | ||
that targets a space root. | ||
|
||
https://github.com/cs3org/reva/pull/4632/ | ||
https://github.com/owncloud/ocis/issues/8691 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters