Skip to content

Commit

Permalink
Merge pull request #3421 from owncloud/fix-special
Browse files Browse the repository at this point in the history
fix special urls, prepare changelog, bump version
  • Loading branch information
micbar committed Mar 29, 2022
2 parents 4cbec0a + 27e76ab commit c8f7c2f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions changelog/1.19.1_2022-03-29/fix-special-urls.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Return correct special item urls

URLs for Special items (space image, readme) were broken.

https://github.com/owncloud/ocis/pull/3419
2 changes: 1 addition & 1 deletion graph/pkg/service/v0/driveitems.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func (g Graph) getSpecialDriveItem(ctx context.Context, ID *storageprovider.Reso
return nil
}
spaceItem.SpecialFolder = &libregraph.SpecialFolder{Name: libregraph.PtrString(itemName)}
spaceItem.WebDavUrl = libregraph.PtrString(baseURL.String() + path.Join(space.Id.String(), *itemPath))
spaceItem.WebDavUrl = libregraph.PtrString(baseURL.String() + path.Join(space.Id.OpaqueId, *itemPath))

return spaceItem
}
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
sonar.projectKey=owncloud_ocis
sonar.organization=owncloud-1
sonar.projectName=ocis
sonar.projectVersion=1.19.0
sonar.projectVersion=1.19.1
sonar.host.url=https://sonarcloud.io

# =====================================================
Expand Down

0 comments on commit c8f7c2f

Please sign in to comment.