cs3org / wopiserver

A vendor-neutral application gateway compatible with the WOPI specifications.
Apache License 2.0
52 stars 27 forks source link

Enable compliant host URLs in CheckFileInfo #93

Closed glpatcern closed 1 year ago

glpatcern commented 1 year ago

So far, on CheckFileInfo we return the app URLs themselves as HostViewUrl and HostEditUrl, which is suboptimal when using the "Save As" feature or when there's a reload, as the user is redirected outside of the standard (ownCloud web) iframe.

This PR introduces the possibility to configure those URLs, which would be used by OCIS and Reva (not usable by the legacy CERNBox UI instead), as they have a dedicated route to open files in apps.

This allows to pass one more test in #76

lgtm-com[bot] commented 1 year ago

This pull request introduces 1 alert when merging 8bdcf31ec18ce873a1bca34392308b6d4c178e61 into 3a14937a9e1edfb381f41821674223082089e887 - view on LGTM.com

new alerts: