nextcloud / officeonline

officeonline
43 stars 15 forks source link

Fixed remote redirect URL for federation shared files #523

Closed hopleus closed 5 months ago

hopleus commented 6 months ago

Summary

Fixed remote redirect URL for federation shared files

Use case:

After the file has been shared through the federation, it cannot be opened because the redirect URL is incorrect.

Example of a redirect URL: it was: https://domain.comindex.php/apps/officeonline/remote?shareToken =... It became: https://domain.com/apps/officeonline/remote?shareToken =...

Checklist

hopleus commented 5 months ago

@blizzz Hi. Could you run the tests?

blizzz commented 5 months ago

@blizzz Hi. Could you run the tests?

Hi @hopleus, thanks for your contribution! I left a review, will approve when it is addressed :)

github-actions[bot] commented 5 months ago

Hello there, Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!