From fe8e3b044ceb3307d207e269cb4ccb404f1e384f Mon Sep 17 00:00:00 2001 From: Benedikt Kulmann Date: Mon, 8 Nov 2021 14:43:22 +0100 Subject: [PATCH] Remove search-files capability from defaults --- changelog/unreleased/capability-search-files | 5 +++++ .../owncloud/ocs/handlers/cloud/capabilities/capabilities.go | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelog/unreleased/capability-search-files 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