diff --git a/changelog/unreleased/spaces-thumbnails.md b/changelog/unreleased/spaces-thumbnails.md index 7b6817eff9f..d0aca360e53 100644 --- a/changelog/unreleased/spaces-thumbnails.md +++ b/changelog/unreleased/spaces-thumbnails.md @@ -3,3 +3,4 @@ Enhancement: Thumbnails in spaces Added support for thumbnails in spaces. https://github.com/owncloud/ocis/pull/3219 +https://github.com/owncloud/ocis/pull/3235 diff --git a/thumbnails/pkg/thumbnail/imgsource/cs3.go b/thumbnails/pkg/thumbnail/imgsource/cs3.go index 27b37aa6e73..9795d129236 100644 --- a/thumbnails/pkg/thumbnail/imgsource/cs3.go +++ b/thumbnails/pkg/thumbnail/imgsource/cs3.go @@ -52,7 +52,8 @@ func (s CS3) Get(ctx context.Context, path string) (io.ReadCloser, error) { StorageId: spaceID, OpaqueId: spaceID, }, - Path: path, + // Spaces requests need relative paths. + Path: "." + path, } } else { ref = &provider.Reference{