WebDAV: NFD upload returns a canonical URI that Rclone misses #1305

Open
opened 2026-10-07 03:26:15 +00:00 by kayg · 0 comments
Owner

Steps:

  1. Configure Rclone 1.75.1 to use the local WebDAV root /dav/files/<user-id>/ with a full-scope app password.
  2. Upload a file whose filename is NFD, such as NFD-café.txt, with rclone copyto --retries=1.
  3. Inspect the PUT response Location, then GET the original NFD request URI and the returned URI.

Expected: a successful PUT is immediately usable by the client for the same resource.

Actual: the server creates the NFC name and returns HTTP 201 with a canonical NFC Location. A GET of the original NFD URI returns 404; GET of the returned Location returns 200. Rclone 1.75.1 reports object not found on its first attempt. In a 508-file collection upload it retried and completed with exit 0; rclone check --one-way found 0 differences and 508 matching files by size/mtime (the backend has no common content hash).

Evidence: artifacts/bash-interop/webdav-nfd-rclone-failures.txt

Severity: minor. The server publishes the canonical resource and returns its Location, but Rclone reports the first write as failed.

Steps: 1. Configure Rclone 1.75.1 to use the local WebDAV root `/dav/files/<user-id>/` with a full-scope app password. 2. Upload a file whose filename is NFD, such as `NFD-café.txt`, with `rclone copyto --retries=1`. 3. Inspect the PUT response `Location`, then GET the original NFD request URI and the returned URI. Expected: a successful PUT is immediately usable by the client for the same resource. Actual: the server creates the NFC name and returns HTTP 201 with a canonical NFC `Location`. A GET of the original NFD URI returns 404; GET of the returned Location returns 200. Rclone 1.75.1 reports `object not found` on its first attempt. In a 508-file collection upload it retried and completed with exit 0; `rclone check --one-way` found 0 differences and 508 matching files by size/mtime (the backend has no common content hash). Evidence: `artifacts/bash-interop/webdav-nfd-rclone-failures.txt` Severity: minor. The server publishes the canonical resource and returns its Location, but Rclone reports the first write as failed.
kayg changed title from WebDAV: rclone cannot upload NFD filenames to WebDAV: NFD upload returns a canonical URI that Rclone misses 2026-10-07 03:30:06 +00:00
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1305
No description provided.