diff --git a/services/proxy/pkg/config/defaults/defaultconfig.go b/services/proxy/pkg/config/defaults/defaultconfig.go index f1d42a3f8f..b9fdb29243 100644 --- a/services/proxy/pkg/config/defaults/defaultconfig.go +++ b/services/proxy/pkg/config/defaults/defaultconfig.go @@ -185,7 +185,7 @@ func DefaultPolicies() []config.Policy { }, { Type: config.QueryRoute, - Endpoint: "/remote.php/?preview=1", + Endpoint: "(/remote.php)?/?preview=1", Service: "eu.opencloud.web.webdav", }, // TODO the actual REPORT goes to /dav/files/{username}, which is user specific ... how would this work in a spaces world?