Skip to content

Commit

Permalink
Removed support for forcelock, cf. cs3org/wopiserver#121
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed May 20, 2023
1 parent c6072ab commit 35beecd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions changelog/unreleased/forcelock-cleanup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Enhancement: Removed support for forcelock

This workaround is not needed any longer.

https://github.com/cs3org/reva/pull/3908
5 changes: 0 additions & 5 deletions pkg/app/provider/wopi/wopi.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,6 @@ func (p *wopiProvider) GetAppURL(ctx context.Context, resource *provider.Resourc
q.Add("appinturl", p.conf.AppIntURL)
}

if _, ok := opaqueMap["forcelock"]; ok {
// this is to work around an issue with Microsoft Office, cf. cs3org/wopiserver#106
q.Add("forcelock", "1")
}

httpReq.URL.RawQuery = q.Encode()

if p.conf.AppAPIKey != "" {
Expand Down

0 comments on commit 35beecd

Please sign in to comment.