diff --git a/changelog/unreleased/capability-search-files b/changelog/unreleased/capability-search-files new file mode 100644 index 0000000000..05ef206314 --- /dev/null +++ b/changelog/unreleased/capability-search-files @@ -0,0 +1,5 @@ +Bugfix: Don't announce search-files capability + +The `dav.reports` capability contained a `search-files` report which is currently not implemented. We removed it from the defaults. + +https://github.com/cs3org/reva/pull/2245 diff --git a/internal/http/services/owncloud/ocs/handlers/cloud/capabilities/capabilities.go b/internal/http/services/owncloud/ocs/handlers/cloud/capabilities/capabilities.go index ea0fc6c209..29996a50d7 100644 --- a/internal/http/services/owncloud/ocs/handlers/cloud/capabilities/capabilities.go +++ b/internal/http/services/owncloud/ocs/handlers/cloud/capabilities/capabilities.go @@ -121,7 +121,7 @@ func (h *Handler) Init(c *config.Config) { h.c.Capabilities.Dav.Trashbin = "1.0" } if h.c.Capabilities.Dav.Reports == nil { - h.c.Capabilities.Dav.Reports = []string{"search-files"} + h.c.Capabilities.Dav.Reports = []string{} } // sharing