-
Notifications
You must be signed in to change notification settings - Fork 159
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
Delete locks on DELETE method #151
Comments
Agreed, this is a bug. I don't know when I'll have time to look into this... a code contribution would be very helpful/ faster here! |
Thanks for the fast reply. I will make a suggestion. |
(I'm online currently 😄) I'd recommend looking at the 'afterDelete' event and hooking that up to the 'locks' plugin. To be super-thorough, the 'afterMove' event would also be interesting to update the lock. |
Ok, perfect tipps to get startet :) |
By the way: My first pull request :) |
@mikedeboer is there a specific blocking reason to not merge #152 ? |
Windows sometimes does the following if you copy a file into a webdav directory:
Of course this causes an error in Windows.
The RFC 4918 says at 9.6 about the DELETE method:
So windows behavior not using the lock-token at the last step is correct. JsDAV should delete locks on the DELETE method.
The text was updated successfully, but these errors were encountered: