mirror of
https://github.com/sigoden/dufs.git
synced 2026-06-07 23:16:54 +03:00
[PR #417] fix: Prevent recursive creation of parent directories #6835
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/sigoden/dufs/pull/417
State: closed
Merged: No
The specification of WebDAV (RFC4818) does not allow recursive creation of parent directories.
The feature to create all parent recursively when uploading, moving or copying a file has been removed and instead a check has been introduced to see if the directory exists. If not, 409 CONFLICT is returned in accordance with RFC4818.
https://datatracker.ietf.org/doc/html/rfc4918#section-9.3 ↩︎