Skip to content

Commit

Permalink
fix: do not pass title in wopi src url
Browse files Browse the repository at this point in the history
Signed-off-by: Elizabeth Danzberger <[email protected]>
  • Loading branch information
elzody authored and backportbot[bot] committed Nov 26, 2024
1 parent d7f64dc commit b68ce1c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/helpers/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ const getWopiUrl = ({ fileId, title, readOnly, closeButton, revisionHistory, tar
// https://<loolwsd-server>:9980/hosting/discovery
return Config.get('urlsrc')
+ 'WOPISrc=' + encodeURIComponent(getWopiSrc(fileId))
+ '&title=' + encodeURIComponent(title)
+ '&lang=' + languageToBCP47()
+ (closeButton ? '&closebutton=1' : '')
+ (revisionHistory ? '&revisionhistory=1' : '')
Expand Down

0 comments on commit b68ce1c

Please sign in to comment.