Skip to content

Commit

Permalink
Removed support for forcelock, cf. cs3org/wopiserver#121 (cs3org#3908)
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern authored and gmgigi96 committed Jun 28, 2023
1 parent d5dd1a0 commit d566ee5
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, see also the wopiserver.

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 d566ee5

Please sign in to comment.