-
Notifications
You must be signed in to change notification settings - Fork 189
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
MOVE a file into same folder with same name returns 404 instead of 403 #1976
Comments
I can confirm that this is happening. local server oCIS version 1.11.0
But web blocks this behavior. |
re-tested with |
re-tested with ocis |
This deletes the file and moves it to the trashbin. So I think it should be treated with similar prio as bug #6739 |
From https://www.rfc-editor.org/rfc/rfc4918#section-9.9.4
In oCIS
curl -X MOVE -u admin:admin https://localhost:9200/remote.php/dav/files/admin/parent.txt \ -H "Destination: https://localhost:9200/remote.php/dav/files/admin/parent.txt" -v
Response:
❗ file is then deleted and moved to the trashbin
In oC10
curl -X MOVE -u admin:admin http://localhost/core/remote.php/dav/files/admin/parent.txt \ -H "Destination: http://localhost/core/remote.php/dav/files/admin/parent.txt" -v
Response
The text was updated successfully, but these errors were encountered: