Skip to content
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

Requesting a file preview of other user results in HTTP code 200 #191

Closed
swoichha opened this issue Apr 8, 2020 · 2 comments
Closed

Requesting a file preview of other user results in HTTP code 200 #191

swoichha opened this issue Apr 8, 2020 · 2 comments

Comments

@swoichha
Copy link
Contributor

swoichha commented Apr 8, 2020

Steps to reproduce

  • User downloads the preview of of other user's file with width "32" and height "32"
    e.g. curl http://172.17.0.1:9140/remote.php/dav/files/user1/lorem.txt\?x\=32\&y\=32\&forceIcon\=0\&preview\=1 -u admin:admin -v

Expected

  • HTTP code 404 - Not Found

Actual

  • HTTP code 200 - OK
@dschmidt
Copy link
Member

dschmidt commented Apr 8, 2020

I assume this is a duplicate of this owncloud/ocis-thumbnails#5

@swoichha
Copy link
Contributor Author

swoichha commented Apr 9, 2020

@dschmidt You are right. I didn't know that this issue already exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants