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

Identical file ids on public link uploads #3598

Closed
JammingBen opened this issue Apr 27, 2022 · 1 comment · Fixed by #3611
Closed

Identical file ids on public link uploads #3598

JammingBen opened this issue Apr 27, 2022 · 1 comment · Fixed by #3611
Assignees
Labels

Comments

@JammingBen
Copy link
Contributor

Steps to reproduce

  1. Create a public link
  2. Upload a file to this public link
  3. Do a PROPFIND request on the newly uploaded file (e.g. https://localhost:9200/remote.php/dav/public-files/PPqEGcHJCRrjAwn/file.pdf) and note the fileId from the response somewhere
  4. Upload another file to this public link
  5. Do a PROPFIND request on the second uploaded file (e.g. https://localhost:9200/remote.php/dav/public-files/PPqEGcHJCRrjAwn/another_file.pdf) and note the fileId from the response as well

Expected behavior

Those two ids should differ as we have two different files.

Actual behavior

Those two ids are identical. It's probably the id of the shared resource, not of the uploaded file.

@micbar
Copy link
Contributor

micbar commented Apr 27, 2022

Fix is available.

@micbar micbar added Status:Needs-Review Needs review from a maintainer Status:In-Progress labels Apr 27, 2022
@micbar micbar self-assigned this Apr 27, 2022
@micbar micbar mentioned this issue Apr 28, 2022
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants