-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PROPFIND on OCM share target returns incorrect results #3810
Comments
Indeed I'm just noticing that even in the doc the URL returned by the PROPFIND is wrong. I was debugging the code, and I found out that the issue is not in the OCM part itself, but in the I think for now a workaround could be to just not share from the |
@gmgigi96 FYI, the issue also occurs when |
To reproduce follow the OCM share tutorial (https://reva.link/docs/tutorials/share-tutorial/).
After a share has been created do a curl PROPFIND on its target:
(taken from the tutorial)
This will return:
The response hrefs contain the 'home path' of the share which should not be the case. An additional PROPFIND on those results will fail with a
not found
error. This is because reva will stat{user}/home/my-folder/home/my-folder
which does not exist.When there is another folder inside the share, eg.
home/my-folder/another-folder
and you PROPFIND as follows:you will get results, albeit again including the share's 'home path':
Unfortunately the fix does not seem to be a case of simply removing the share's 'home path' from the results because that does not work for files. Eg. a file in
/home/my-folder
can not be PROPFINDed by:This also fails with a
not found
error.The text was updated successfully, but these errors were encountered: