feat: [OCISDEV-330] drop remote.php prefix

The `remote.php` prefix is now fully optional in WebDAV endpoints and is never returned in responses.
This commit is contained in:
Lukas Hirt
2025-09-24 10:32:37 +02:00
parent 289c941e9e
commit 1b83d986f9
5 changed files with 15 additions and 4 deletions

View File

@@ -185,6 +185,11 @@ func DefaultPolicies() []config.Policy {
Endpoint: "/remote.php/?preview=1",
Service: "com.owncloud.web.webdav",
},
{
Type: config.QueryRoute,
Endpoint: "/?preview=1",
Service: "com.owncloud.web.webdav",
},
// TODO the actual REPORT goes to /dav/files/{username}, which is user specific ... how would this work in a spaces world?
// TODO what paths are returned? the href contains the full path so it should be possible to return urls from other spaces?
// TODO or we allow a REPORT on /dav/spaces to search all spaces and /dav/space/{spaceid} to search a specific space