ocm: derive the legacy webdav endpoint from discovery, Basic auth with the secret (#474) #475
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-474"
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?
Root cause of "Summer Slam still shows as a file" — and of every remote read against Nextcloud: the legacy dialect carries no WebDAV URI, so all access paths targeted the NC server root, and the accept-time probe's error was silently swallowed.
remoteBase: explicitprotocol.webdav.uriunchanged (Bearer); empty URI resolves the peer's cachedDisco.WebdavRootwith live-discovery fallback (spec Share Access step 5).authorize: Basic auth, shared secret as username +X-Requested-Withfor legacy targets; Bearer otherwise. Wired intoIsRemoteDir,ListRemote,FetchRemote— existing stored rows heal without re-sharing.IsRemoteDirrecognises theresourcetypecollectionelement (trailing-slash heuristic stays as fallback).slog.Warn("ocm folder probe failed", …).Closes #474.