You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to fetch the preview of an image via share jail tries to stat with a wrong path.
Steps to reproduce
Steps to reproduce the behavior:
Make a GET request for a preview via share jail, real live example request: https://localhost:9200/remote.php/dav/spaces/a0ca6a90-a365-4782-871e-d44447bbc668!69b72b1a-5496-4466-9790-dd49423deca7/asdf/one-file/Okapi.jpg?scalingup=0&preview=1&a=1&c=48c300389edb6df360bdcd853fb50092&x=36&y=36
The example request from above gives the following error log:
2022-04-27T12:27:21+02:00 ERR could not stat file path=a0ca6a90-a365-4782-871e-d44447bbc668!69b72b1a-5496-4466-9790-dd49423deca7!/asdf/one-file/Okapi.jpg service=thumbnails status_message="sharesstorageprovider: can only handle relative references"
2022-04-27T12:27:21+02:00 ERR could not stat file path=a0ca6a90-a365-4782-871e-d44447bbc668!69b72b1a-5496-4466-9790-dd49423deca7!/asdf/one-file/Okapi.jpg service=thumbnails status_message="sharesstorageprovider: can only handle relative references"
2022-04-27T12:27:21+02:00 ERR could not get thumbnail error="{\"id\":\"com.owncloud.api.thumbnails\",\"code\":500,\"detail\":\"could not stat file: sharesstorageprovider: can only handle relative references\",\"status\":\"Internal Server Error\"}" service=webdav
Please note that there is a trailing ! after the share id. That ! doesn't belong there (thanks to @micbar for noticing it). It doesn't exist in the request so there seems to be a faulty path construction somewhere in reva...
The text was updated successfully, but these errors were encountered:
Describe the bug
Trying to fetch the preview of an image via share jail tries to stat with a wrong path.
Steps to reproduce
Steps to reproduce the behavior:
GET
request for a preview via share jail, real live example request:https://localhost:9200/remote.php/dav/spaces/a0ca6a90-a365-4782-871e-d44447bbc668!69b72b1a-5496-4466-9790-dd49423deca7/asdf/one-file/Okapi.jpg?scalingup=0&preview=1&a=1&c=48c300389edb6df360bdcd853fb50092&x=36&y=36
OR
Expected behavior
Preview gets loaded.
Actual behavior
Preview request fails with an http 500 error
Setup
Please describe how you started the server and provide a list of relevant environment variables.
Additional context
The example request from above gives the following error log:
Please note that there is a trailing
!
after the share id. That!
doesn't belong there (thanks to @micbar for noticing it). It doesn't exist in the request so there seems to be a faulty path construction somewhere in reva...The text was updated successfully, but these errors were encountered: