ocm: probe folder-ness at accept, the wire resourceType lies for Nextcloud (#464) #471

Merged
Cordy merged 3 commits from fix-464d into main 2026-09-10 01:37:01 +00:00
Owner

NC sends resourceType "file" for folder shares too, so inbound folders landed as files (Download, no Browse — the Summer Slam dogfood finding). New Client.IsRemoteDir (depth-0 PROPFIND, collection = trailing-slash href; TDD red witnessed), Store.SetShareInFolder, and a best-effort probe in the accept path that corrects the flag. Already-accepted shares keep their stored flag — end + re-accept once to heal.

NC sends resourceType "file" for folder shares too, so inbound folders landed as files (Download, no Browse — the Summer Slam dogfood finding). New Client.IsRemoteDir (depth-0 PROPFIND, collection = trailing-slash href; TDD red witnessed), Store.SetShareInFolder, and a best-effort probe in the accept path that corrects the flag. Already-accepted shares keep their stored flag — end + re-accept once to heal.
Cordy merged commit 386b22a2bb into main 2026-09-10 01:37:01 +00:00
Cordy deleted branch fix-464d 2026-09-10 01:37:03 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
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: Cordy/Cairn#471
No description provided.