mirror of
https://github.com/owncloud/ocis
synced 2026-04-26 09:45:19 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user